Michael Smith has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19939 )

Change subject: IMPALA-11260: (Addendum) Restrict add-opens to Java 9+
......................................................................


Patch Set 4:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/19939/2/be/src/common/init.cc
File be/src/common/init.cc:

http://gerrit.cloudera.org:8080/#/c/19939/2/be/src/common/init.cc@311
PS2, Line 311: Unknown flags in JAVA_TOOL_OPTIONS causes Java to ignore 
everything,
> Turns out there is one, but it's an exhaustive test. Adding a fast test mak
Done


http://gerrit.cloudera.org:8080/#/c/19939/2/be/src/common/init.cc@313
PS2, Line 313:   string cmd = "java";
> This all feels a little fragile. It might be better to add a startup check
Ack


http://gerrit.cloudera.org:8080/#/c/19939/2/be/src/common/init.cc@315
PS2, Line 315:   if (java_home != NULL) {
             :     cmd = (boost::filesystem::path(java_home) / "bin" / 
"java").string();
             :   }
> It's good to support falling back to PATH, but we can also export JAVA_HOME
Done


http://gerrit.cloudera.org:8080/#/c/19939/2/be/src/common/init.cc@335
PS2, Line 335:   if (std::stoi(matches.str(1)) < 9) return Status::OK();
> Right, with our regex there shouldn't be an issue. We could limit the numbe
Done



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I85953e685f6bbbd213afd93f389066e82f193ddf
Gerrit-Change-Number: 19939
Gerrit-PatchSet: 4
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Wed, 31 May 2023 20:55:52 +0000
Gerrit-HasComments: Yes

Reply via email to