[
https://issues.apache.org/jira/browse/MAPREDUCE-7456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769838#comment-17769838
]
ASF GitHub Bot commented on MAPREDUCE-7456:
-------------------------------------------
p-szucs commented on code in PR #6118:
URL: https://github.com/apache/hadoop/pull/6118#discussion_r1339286507
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml:
##########
@@ -1478,6 +1478,17 @@
<value>-Xmx256m</value>
</property>
+ <property>
+
<name>yarn.nodemanager.container-localizer.java.opts.add-exports-as-default</name>
+ <value>true</value>
+ <description>Since on JDK17 it's no longer possible to use the reflection
API to
+ access public fields and methods add-exports flags should be added to
container
Review Comment:
Fixed
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml:
##########
@@ -1478,6 +1478,17 @@
<value>-Xmx256m</value>
</property>
+ <property>
+
<name>yarn.nodemanager.container-localizer.java.opts.add-exports-as-default</name>
+ <value>true</value>
+ <description>Since on JDK17 it's no longer possible to use the reflection
API to
+ access public fields and methods add-exports flags should be added to
container
+ localizers regardless of the user specified java opts. Setting this to
true will
Review Comment:
Fixed
> Extend add-opens flag to container launch commands on JDK17 nodes
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-7456
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7456
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Affects Versions: 3.4.0
> Reporter: Peter Szucs
> Assignee: Peter Szucs
> Priority: Major
> Labels: pull-request-available
>
> There was a previous ticket for adding add-opens flag to container launch to
> be able to run them on JDK17 nodes:
> https://issues.apache.org/jira/browse/MAPREDUCE-7449
> As testing discovered, this should be extended with
> "{_}-add-exports=java.base/sun.net.dns=ALL-UNNAMED{_}" and
> "{_}-add-exports=java.base/sun.net.util=ALL-UNNAMED{_}" options to be able to
> run containers on Isilon.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]