Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
When I try compiling Hadoop with JDK 8 like this
mvn clean package -Pdist -Dtar -DskipTests -Djavac.version=1.8
I get this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-yarn-common: Compilation failure: Compilation failure: [ERROR] /Users/rkanter/dev/hadoop-common2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/RPCUtil.java:[101,11] unreported exception java.lang.Throwable; must be caught or declared to be thrown [ERROR] /Users/rkanter/dev/hadoop-common2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/RPCUtil.java:[104,11] unreported exception java.lang.Throwable; must be caught or declared to be thrown [ERROR] /Users/rkanter/dev/hadoop-common2/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/RPCUtil.java:[107,11] unreported exception java.lang.Throwable; must be caught or declared to be thrown
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-11090 [Umbrella] Support Java 8 in Hadoop
- Resolved