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

Zhijie Shen commented on YARN-1855:
-----------------------------------

I did some investigation in the test failure. If I understand correctly, the 
webapp of AHS overwrites the that of RM, such that testRMWebAppRedirect cannot 
test the desired thing. If a NodeManager is started, its webapp will block that 
of RM as well. Therefore,  I create a patch, which fix the test failure by make 
it configurable to start AHS or not, like RM and NM.

However, for long term, I seems that we need to improve MiniYarnCluster to make 
sure different jetty webapp instances can run isolatedly in a single process.

> TestRMFailover#testRMWebAppRedirect fails in trunk
> --------------------------------------------------
>
>                 Key: YARN-1855
>                 URL: https://issues.apache.org/jira/browse/YARN-1855
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Zhijie Shen
>            Priority: Critical
>         Attachments: YARN-1855.1.patch
>
>
> From https://builds.apache.org/job/Hadoop-Yarn-trunk/514/console :
> {code}
> testRMWebAppRedirect(org.apache.hadoop.yarn.client.TestRMFailover)  Time 
> elapsed: 5.39 sec  <<< ERROR!
> java.lang.NullPointerException: null
>       at 
> org.apache.hadoop.yarn.client.TestRMFailover.testRMWebAppRedirect(TestRMFailover.java:269)
> {code}



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

Reply via email to