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

Anupam Seth commented on MAPREDUCE-2986:
----------------------------------------

I tried to address the ports issue in my revised patch (attached) by using port 
0, but I am failing unit tests because the NMs fail to start properly. Could 
someone help debug the problem I am running into? Also attaching the log for 
this failure.

-------------------------------------------------------------------------------
Test set: org.apache.hadoop.yarn.server.TestContainerTokenSecretManager
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 24.324 sec <<< 
FAILURE!
test(org.apache.hadoop.yarn.server.TestContainerTokenSecretManager)  Time 
elapsed: 23.654 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<LAUNCHED> but was:<FAILED>
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.failNotEquals(Assert.java:283)
        at junit.framework.Assert.assertEquals(Assert.java:64)
        at junit.framework.Assert.assertEquals(Assert.java:71)
        at 
org.apache.hadoop.yarn.server.TestContainerTokenSecretManager.test(TestContainerTokenSecretManager.java:188)


> Multiple node managers support for the MiniYARNCluster
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-2986
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2986
>             Project: Hadoop Map/Reduce
>          Issue Type: Task
>            Reporter: Anupam Seth
>            Assignee: Anupam Seth
>            Priority: Minor
>         Attachments: BZ-4805926-branch-0_23.patch, 
> MAPREDUCE-2986-branch-0_23.patch
>
>
> The current MiniYARNCluster can only support 1 node manager, which is not 
> enough for the full test purposes.
> Would like to have a simulator that can support multiple node managers as the 
> real scenario. This might be beneficial for hadoop users, testers and 
> developers.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to