kokila-19 commented on code in PR #5404:
URL: https://github.com/apache/hive/pull/5404#discussion_r1746563940


##########
data/conf/tez/tez-site.xml:
##########
@@ -36,4 +36,8 @@
     <name>tez.am.dag.scheduler.class</name>
     
<value>org.apache.tez.dag.app.dag.impl.DAGSchedulerNaturalOrderControlled</value>
   </property>
+  <property>
+    <name>tez.am.launch.cmd-opts</name>
+    <value> --add-opens=java.base/java.net=ALL-UNNAMED 
--add-opens=java.base/java.util=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED 
--add-opens=java.base/java.lang=ALL-UNNAMED 
--add-opens=java.base/java.util.regex=ALL-UNNAMED </value>

Review Comment:
   As Tez Application Manager(AM) process is launched using java 17, we need to 
pass these additional arguments to open these modules as they are restricted 
since java9+. Each --add-opens is added as required with respect to test 
failures for tez AM.



-- 
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