Seth Call created YARN-8674:
-------------------------------

             Summary: MiniClusters do not expose ResourceManager REST APIs
                 Key: YARN-8674
                 URL: https://issues.apache.org/jira/browse/YARN-8674
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 2.8.2, 2.6.5
            Reporter: Seth Call


When I use a mini cluster that starts ResourceManager (say MiniYARNCluster), I 
can not access /ws/v1/cluster/info?

 

It will fail with a 'controller v1 not found'.   

 

However,  I did notice something: when the cluster is starting, for just a 
*split second* it works, and then it permanently goes away. 

 

This leads me to believe that the problem here is that because there are so 
many YARN components running in the same process, there are multiple Guice 
injectors (this warning statement does show), and so due to a hard to 
understanding startup/configuration issue, the @Path of RMWebServices gets 
overwritten as other components start up.

That's just my guess.

 

I tried creating a MiniCluster with 0 Resource Managers (with the idea that I'd 
create a second one with no node managers), but that does not work. Any 
workarounds would be greatly appreciated!

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to