hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3400) [JDK 8] Build Failure due to unreported exceptions in RPCUtil
Date Fri, 27 Mar 2015 13:20:54 GMT

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

Hudson commented on YARN-3400:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #145 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/145/])
YARN-3400. [JDK 8] Build Failure due to unreported exceptions in RPCUtil (rkanter) (rkanter:
rev 87130bf6b22f538c5c26ad5cef984558a8117798)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/ipc/RPCUtil.java
* hadoop-yarn-project/CHANGES.txt


> [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
>            Assignee: Robert Kanter
>             Fix For: 2.8.0
>
>         Attachments: YARN-3400.patch
>
>
> 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