zhangbutao commented on code in PR #5404:
URL: https://github.com/apache/hive/pull/5404#discussion_r1886160036


##########
bin/ext/beeline.sh:
##########
@@ -29,7 +29,7 @@ beeline () {
     hadoopClasspath="${HADOOP_CLASSPATH}:"
   fi
   export 
HADOOP_CLASSPATH="${hadoopClasspath}${HIVE_CONF_DIR}:${beelineJarPath}:${superCsvJarPath}:${jlineJarPath}"
-  export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS 
-Dlog4j.configurationFile=beeline-log4j2.properties "
+  export HADOOP_CLIENT_OPTS="$HADOOP_CLIENT_OPTS 
-Dlog4j.configurationFile=beeline-log4j2.properties 
--add-opens=java.base/java.net=ALL-UNNAMED "

Review Comment:
   If users want to deploy the HS2/HMS against JDK17, in which script files 
should they add the jdk17 parameter?
   Should we change this files as well?
   https://github.com/apache/hive/blob/master/bin/ext/hiveserver2.sh
   https://github.com/apache/hive/blob/master/bin/ext/metastore.sh 
   



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to