HBASE-26557 Correct export to set log4j2.formatMsgNoLookups in HBASE_OPTS (#3941)

Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Reviewed-by: Nick Dimiduk <ndimiduk@apache.org>
This commit is contained in:
Josh Elser 2021-12-13 19:12:33 -05:00 committed by GitHub
parent 8bca21b47d
commit a3ff8e4c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ export MALLOC_ARENA_MAX=${MALLOC_ARENA_MAX:-4}
# Disable the JNDI. This feature has critical REC vulnerability
# when 2.x <= log4j.version <= 2.14.1
export HBASE_OPTS = "$HBASE_OPTS -Dlog4j2.formatMsgNoLookups=true"
export HBASE_OPTS="$HBASE_OPTS -Dlog4j2.formatMsgNoLookups=true"
# Now having JAVA_HOME defined is required
if [ -z "$JAVA_HOME" ]; then