You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/10/11 13:35:43 UTC

[jira] [Commented] (MAPREDUCE-5425) Junit in TestJobHistoryServer failing in jdk 7

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

Hudson commented on MAPREDUCE-5425:
-----------------------------------

FAILURE: Integrated in Hadoop-Hdfs-0.23-Build #757 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/757/])
svn merge -c 1511464 FIXES: MAPREDUCE-5425. Junit in TestJobHistoryServer failing in jdk 7. Contributed by Robert Parker (jlowe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1531029)
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/JobHistoryServer.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobHistoryServer.java


> Junit in TestJobHistoryServer failing in jdk 7
> ----------------------------------------------
>
>                 Key: MAPREDUCE-5425
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5425
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>    Affects Versions: 2.0.4-alpha
>            Reporter: Ashwin Shankar
>            Assignee: Robert Parker
>             Fix For: 3.0.0, 0.23.10, 2.1.1-beta
>
>         Attachments: MAPREDUCE-5425-2.patch, MAPREDUCE-5425-3.patch, MAPREDUCE-5425.patch
>
>
> We get the following exception when we run the unit tests of TestJobHistoryServer with jdk 7:
> Caused by: java.net.BindException: Problem binding to [0.0.0.0:10033] java.net.BindException: Address already in use; For more details see:  http://wiki.apache.org/hadoop/BindException
> 	at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:719)
> 	at org.apache.hadoop.ipc.Server.bind(Server.java:423)
> 	at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:535)
> 	at org.apache.hadoop.ipc.Server.<init>(Server.java:2202)
> 	at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:901)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.<init>(ProtobufRpcEngine.java:505)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine.getServer(ProtobufRpcEngine.java:480)
> 	at org.apache.hadoop.ipc.RPC$Builder.build(RPC.java:746)
> 	at org.apache.hadoop.mapreduce.v2.hs.server.HSAdminServer.serviceInit(HSAdminServer.java:100)
> 	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
> This is happening because testMainMethod starts the history server and doesnt stop it. This worked in jdk 6 because tests executed sequentially and this test was last one and didnt affect other tests,but in jdk 7 it fails.



--
This message was sent by Atlassian JIRA
(v6.1#6144)