hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-3400) [JDK 8] Build Failure due to unreported exceptions in RPCUtil
Date Wed, 25 Mar 2015 21:47:54 GMT
Robert Kanter created YARN-3400:
-----------------------------------

             Summary: [JDK 8] Build Failure due to unreported exceptions in RPCUtil 
                 Key: YARN-3400
                 URL: https://issues.apache.org/jira/browse/YARN-3400
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Robert Kanter


When I try compiling Hadoop with JDK 8 like this
{noformat}
mvn clean package -Pdist -Dtar -DskipTests -Djavac.version=1.8
{noformat}
I get this error:
{noformat}
[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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message