gortiz commented on code in PR #10528:
URL: https://github.com/apache/pinot/pull/10528#discussion_r1204071079
##########
.github/workflows/scripts/.pinot_quickstart.sh:
##########
@@ -87,6 +87,11 @@ cd "${DIST_BIN_DIR}"
# Test standalone pinot. Configure JAVA_OPTS for smaller memory, and don't use
System.exit
export JAVA_OPTS="-Xms1G -Dlog4j2.configurationFile=conf/log4j2.xml"
+
+if [ "$JAVA_VER" -gt 15 ]; then
+ JAVA_OPTS="${JAVA_OPTS} --add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED"
Review Comment:
By adding this here, these required `add-opens` should be added by default
in pinot script if the JVM is > 15
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]