You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2018/09/20 10:03:00 UTC

[jira] [Commented] (MAPREDUCE-7142) [JDK9] Add "--add-modules java.activation" to java option if the Java version is 9 or upper.

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

Akira Ajisaka commented on MAPREDUCE-7142:
------------------------------------------

Applying this patch and HADOOP-15775, TestMRJobs passed.

> [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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org