File tree Expand file tree Collapse file tree
hbase/hbase-operator-tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ COPY --chown=${STACKABLE_USER_UID}:0 hbase/hbase-operator-tools/stackable/bin/hb
2525COPY --chown=${STACKABLE_USER_UID}:0 hbase/hbase-operator-tools/stackable/patches/patchable.toml /stackable/src/hbase/hbase-operator-tools/stackable/patches/patchable.toml
2626COPY --chown=${STACKABLE_USER_UID}:0 hbase/hbase-operator-tools/stackable/patches/${HBASE_OPERATOR_TOOLS_VERSION} /stackable/src/hbase/hbase-operator-tools/stackable/patches/${HBASE_OPERATOR_TOOLS_VERSION}
2727COPY --chown=${STACKABLE_USER_UID}:0 hbase/hbase/stackable/bin/hbase-entrypoint.sh /stackable/bin/
28+ COPY --chown=${STACKABLE_USER_UID}:0 hbase/hbase-operator-tools/stackable/conf/log4j2-hbck.properties /tmp/log4j2-hbck.properties
2829
2930COPY --from=hbase-builder --chown=${STACKABLE_USER_UID}:0 /stackable/patched-libs/maven/org/apache/hbase /stackable/patched-libs/maven/org/apache/hbase
3031COPY --from=hadoop-builder --chown=${STACKABLE_USER_UID}:0 /stackable/patched-libs/maven/org/apache/hadoop /stackable/patched-libs/maven/org/apache/hadoop
@@ -84,6 +85,10 @@ if [ "${DELETE_CACHES}" = "true" ] ; then
8485 rm -rf /stackable/.cache/*
8586fi
8687
88+ mkdir -p /stackable/hbase-operator-tools-${FULL_HBASE_OPERATOR_TOOLS_VERSION}/conf
89+ mv /tmp/log4j2-hbck.properties /stackable/hbase-operator-tools-${FULL_HBASE_OPERATOR_TOOLS_VERSION}/conf/log4j2-hbck.properties
90+
8791# set correct groups
8892chmod --recursive g=u /stackable
8993EOF
94+
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ export LOG4J_CONFIGURATION_FILE=/stackable/hbase-operator-tools/conf/log4j2-hbck.properties
4+
35exec /stackable/hbase-${PATCHED_HBASE_VERSION} /bin/hbase hbck \
46 -j /stackable/hbase-operator-tools-${FULL_HBASE_OPERATOR_TOOLS_VERSION} /hbase-hbck2/hbase-hbck2-${PATCHED_HBASE_OPERATOR_TOOLS_VERSION} .jar \
57 " $@ "
Original file line number Diff line number Diff line change 1+ status = warn
2+ dest = err
3+ name = PropertiesConfig
4+
5+ # Console appender
6+ appender.console.type = Console
7+ appender.console.target = SYSTEM_ERR
8+ appender.console.name = console
9+ appender.console.layout.type = PatternLayout
10+ appender.console.layout.pattern = %d{ISO8601} %-5p [%t%notEmpty{ %X}] %c{2}: %.1000m%n
11+
12+ rootLogger = WARN,console
13+
You can’t perform that action at this time.
0 commit comments