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

Zhijie Shen commented on YARN-1863:
-----------------------------------

In YARN-1859, I catch ApplicationNotFoundException and move on, because the 
client still have the chance to create the tracking url when the application is 
not found in RM cache. Therefore, finally if the tracking url is still not 
available, not found http response will be return.

I'll handle the test failure

> TestRMFailover fails with 'AssertionError: null'
> ------------------------------------------------
>
>                 Key: YARN-1863
>                 URL: https://issues.apache.org/jira/browse/YARN-1863
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Zhijie Shen
>         Attachments: YARN-1863.1.patch
>
>
> This happened in Hadoop-Yarn-trunk - Build # 516 and can be reproduced:
> {code}
> testWebAppProxyInStandAloneMode(org.apache.hadoop.yarn.client.TestRMFailover) 
>  Time elapsed: 5.834 sec  <<< FAILURE!
> java.lang.AssertionError: null
>       at org.junit.Assert.fail(Assert.java:92)
>       at org.junit.Assert.assertTrue(Assert.java:43)
>       at org.junit.Assert.assertTrue(Assert.java:54)
>       at 
> org.apache.hadoop.yarn.client.TestRMFailover.verifyExpectedException(TestRMFailover.java:250)
>       at 
> org.apache.hadoop.yarn.client.TestRMFailover.testWebAppProxyInStandAloneMode(TestRMFailover.java:216)
> testEmbeddedWebAppProxy(org.apache.hadoop.yarn.client.TestRMFailover)  Time 
> elapsed: 5.341 sec  <<< FAILURE!
> java.lang.AssertionError: null
>       at org.junit.Assert.fail(Assert.java:92)
>       at org.junit.Assert.assertTrue(Assert.java:43)
>       at org.junit.Assert.assertTrue(Assert.java:54)
>       at 
> org.apache.hadoop.yarn.client.TestRMFailover.verifyExpectedException(TestRMFailover.java:250)
>       at 
> org.apache.hadoop.yarn.client.TestRMFailover.testEmbeddedWebAppProxy(TestRMFailover.java:241)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to