[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622927#comment-16622927
 ] 

Andrew Purtell commented on MAPREDUCE-7142:
-------------------------------------------

See my comment on HADOOP-15775

> [JDK9] Add "--add-modules java.activation" to java option if the Java version 
> is 9 or upper.
> --------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7142
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7142
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Critical
>         Attachments: MAPREDUCE-7142.01.patch
>
>
> In Java 9, MapReduce job fails due to missing java.activation module, so we 
> need to configure mapred-site.xml as follows to run MapReduce job:
> {code}
> <property name="yarn.app.mapreduce.am.admin-command-opts" 
> value="--add-modules java.activation"/>
> <property name="mapreduce.map.java.opts" value="--add-modules 
> java.activation"/>
> <property name="mapreduce.reduce.java.opts" value="--add-modules 
> java.activation"/>
> {code}
> I'm thinking it's better to add "--add-modules java.activation" automatically.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to