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:
parent
8bca21b47d
commit
a3ff8e4c81
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue