Michael Smith has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/19845 )

Change subject: IMPALA-11260: Add add-opens to JAVA_TOOL_OPTIONS on startup
......................................................................

IMPALA-11260: Add add-opens to JAVA_TOOL_OPTIONS on startup

During Impala startup, Before starting the JVM (by calling libhdfs),
adds add-opens calls to JAVA_TOOL_OPTIONS to ensure Ehcache has access
to non-public members so it can accurately calculate object size.

This effectively circumvents new security precautions in Java 9+.

Use '--jvm_automatic_add_opens=false' to disable it.

Tested with Java 11

  JDBC_TEST=false EE_TEST=false FE_TEST=false BE_TEST=false \
    CLUSTER_TEST_FILES=custom_cluster/test_local_catalog.py \
    run-all-tests.sh

Change-Id: I47a6533b2aa94593d9348e8e3606633f06a111e8
Reviewed-on: http://gerrit.cloudera.org:8080/19845
Reviewed-by: Joe McDonnell <joemcdonn...@cloudera.com>
Reviewed-by: Quanlong Huang <huangquanl...@gmail.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
---
M be/src/common/init.cc
M bin/start-impala-cluster.py
M docker/daemon_entrypoint.sh
3 files changed, 58 insertions(+), 60 deletions(-)

Approvals:
  Joe McDonnell: Looks good to me, but someone else must approve
  Quanlong Huang: Looks good to me, approved
  Impala Public Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/19845
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I47a6533b2aa94593d9348e8e3606633f06a111e8
Gerrit-Change-Number: 19845
Gerrit-PatchSet: 9
Gerrit-Owner: Michael Smith <michael.sm...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Michael Smith <michael.sm...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>

Reply via email to