hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-4916) TestNMProxy.tesNMProxyRPCRetry fails on OS X & Windows
Date Tue, 05 Apr 2016 11:27:26 GMT

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

Brahma Reddy Battula commented on YARN-4916:
--------------------------------------------

Yes, this patch also required.{{TestNMProxy.tesNMProxyRPCRetry}} fails without this patch.It's
started failing after HADOOP-11212 in jenkins precommit builds.....Hence YARN-4922 and YARN-4923
raised to track this.

 *Precommit- Builds* 
https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/1257/testReport/
https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/1261/testReport/
https://builds.apache.org/job/Hadoop-Yarn-trunk/1968/testReport/
https://builds.apache.org/job/Hadoop-Yarn-trunk/1971/testReport/
https://builds.apache.org/job/Hadoop-Yarn-trunk/1972/testReport/

> TestNMProxy.tesNMProxyRPCRetry fails on OS X & Windows
> ------------------------------------------------------
>
>                 Key: YARN-4916
>                 URL: https://issues.apache.org/jira/browse/YARN-4916
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.8.0, 2.7.3, 2.6.4
>         Environment: OS X 10.11 with Oracle JDK 1.7.0_79
> Windows Server 2012 with Oracle JDK 1.7.0_79
>            Reporter: Tibor Kiss
>            Priority: Minor
>         Attachments: YARN-4916.01.patch, YARN-4916.02-WiP.patch
>
>
> The test ensures that java.net.SocketException is thrown from
> NMProxy.startContainers() without the RPC Request being retried.
> With Oracle JDK 1.7 on OS X & Windows BindException is thrown from startContainers().
> The testcase expects that SocketException is thrown - which is BindException's superclass.
> The exception type check is implemented using string compare and not reflection, therefore
the thrown BindException is not accepted.
> {noformat}
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.149 sec <<<
FAILURE! - in org.apache.hadoop.yarn.server.nodemanager.containermanager.TestNMProxy
> testNMProxyRPCRetry(org.apache.hadoop.yarn.server.nodemanager.containermanager.TestNMProxy)
 Time elapsed: 0.211 sec  <<< FAILURE!
> java.lang.AssertionError: null
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertTrue(Assert.java:52)
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.TestNMProxy.testNMProxyRPCRetry(TestNMProxy.java:191)
> {noformat}
> Actual exception:
> {noformat}
> 2016-04-02 21:25:13,311 WARN  [Thread-93] ipc.Client (Client.java:handleConnectionFailure(880))
- Failed to connect to server: 1234/0.0.4.210:0: retries get failed due to exceeded maximum
allowed retries
> java.net.BindException: Can't assign requested address
>         at sun.nio.ch.Net.connect0(Native Method)
>         at sun.nio.ch.Net.connect(Net.java:465)
>         at sun.nio.ch.Net.connect(Net.java:457)
>         at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670)
>         at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:192)
>         at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)
>         at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)
>         at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:634)
>         at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:733)
>         at org.apache.hadoop.ipc.Client$Connection.access$2900(Client.java:378)
>         at org.apache.hadoop.ipc.Client.getConnection(Client.java:1413)
>         at org.apache.hadoop.ipc.Client.call(Client.java:1328)
>         at org.apache.hadoop.ipc.Client.call(Client.java:1306)
>         at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:230)
>         at com.sun.proxy.$Proxy10.startContainers(Unknown Source)
> {noformat}



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

Mime
View raw message