hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-7142) [JDK9] Add "--add-modules java.activation" to java option if the Java version is 9 or upper.
Date Thu, 20 Sep 2018 05:28:00 GMT
Akira Ajisaka created MAPREDUCE-7142:
----------------------------------------

             Summary: [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


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


Mime
View raw message