Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
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:
<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"/>
I'm thinking it's better to add "--add-modules java.activation" automatically.
Attachments
Attachments
Issue Links
- blocks
-
HADOOP-11123 Fix Java 9 incompatibilies in Hadoop
- Resolved
- is superceded by
-
HADOOP-15775 [JDK9] Add missing javax.activation-api dependency
- Resolved