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

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

SUCCESS: Integrated in Hadoop-Hdfs-trunk-Java8 #136 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/136/])
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)

Reply via email to