File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ FROM stackable/image/java-devel AS hadoop-s3-builder
1818ARG PRODUCT
1919ARG RELEASE
2020ARG HADOOP
21+ ARG HBASE_HBASE
2122ARG STACKABLE_USER_UID
2223
2324USER ${STACKABLE_USER_UID}
@@ -42,7 +43,7 @@ export LIBS=$(find /stackable/hadoop/share/hadoop -name '*.jar' -printf '%p:' |
4243# The variable names are intentionally passed to envsubst in single-quotes,
4344# so that they are not expanded. Disabling ShellCheck rules in a Dockerfile
4445# does not work, so please ignore the according warning (SC2016).
45- envsubst '${HBASE_HBASE}:${LIBS}' < /stackable/bin/export-snapshot-to-s3.env > /stackable/bin/export-snapshot-to-s3
46+ envsubst '${HBASE_HBASE}:${RELEASE}:${ LIBS}' < /stackable/bin/export-snapshot-to-s3.env > /stackable/bin/export-snapshot-to-s3
4647chmod +x /stackable/bin/export-snapshot-to-s3
4748rm /stackable/bin/export-snapshot-to-s3.env
4849
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ sed --in-place '/<\/configuration>/{
6161# `hbase snapshot export` which results in the error
6262# 'No FileSystem for scheme "hdfs"'. Passsing the argument
6363# `--internal-classpath` solves this problem.
64- /stackable/hbase-${PRODUCT } /bin/hbase \
64+ /stackable/hbase-${HBASE_HBASE} -stackable ${RELEASE } /bin/hbase \
6565 --config " $CONF_DIR " \
6666 --internal-classpath \
6767 snapshot export " $@ "
You can’t perform that action at this time.
0 commit comments