(Repost) Using REST to get ApplicationMaster info

2012-07-06 Thread Prajakta Kalmegh
Re-posting as I haven't got a solution yet. Sorry for spamming. I won't be able to proceed in my code until I get a JSON response using AppMaster REST URL. :( Thanks, Prajakta On Wed, Jul 4, 2012 at 5:55 PM, Prajakta Kalmegh wrote: > Hi Robert/Harsh > > Thanks for your reply. > > My RM is star

Re: (Repost) Using REST to get ApplicationMaster info

2012-07-06 Thread Robert Evans
Sorry I did not respond sooner. The default behavior is to have the proxy server run as part of the RM. I am not really sure why it is not doing this in your case. If you set the config yourself to be a URI that is different from that of the RM then you need to launch a standalone proxy server.

Re: (Repost) Using REST to get ApplicationMaster info

2012-07-06 Thread Prajakta Kalmegh
Robert , Thanks for the response. If I do not provide any explicit configuration for the proxy server, do I still need to start it using the 'yarn start proxy server'? I am currently not doing it. Also, I am able to access the html page for proxy using the

Re: (Repost) Using REST to get ApplicationMaster info

2012-07-06 Thread Robert Evans
What version of hadoop are you using? It could be that the version you have does not have the RESTful APIs in it yet, and the proxy is working just fine. --Bobby Evans On 7/6/12 12:06 PM, "Prajakta Kalmegh" wrote: >Robert , Thanks for the response. If I do not provide any explicit >configurati

Re: (Repost) Using REST to get ApplicationMaster info

2012-07-06 Thread Prajakta Kalmegh
I am using hadoop trunk (forked from github). It supports RESTful APIs as I am able to retrieve JSON objects for RM (cluster/nodes info)+ Historyserver. The only issue is with AppMaster REST API. Regards, Prajakta On Fri, Jul 6, 2012 at 10:55 PM, Robert Evans wrote: > What version of hadoop a

Re: (Repost) Using REST to get ApplicationMaster info

2012-07-09 Thread Prajakta Kalmegh
Hi Robert I started the proxyserver explicitly by specifying a value for the yarn.web-proxy.address in yarn-site.xml. The proxyserver did start and I tried getting the JSON response using the following command : curl --compressed -H "Accept: application/json" -X GET " http://localhost:8090/proxy/

Re: (Repost) Using REST to get ApplicationMaster info

2012-07-25 Thread Robert Evans
I am sorry it has taken me so long to respond. Work has been crazy :). I really am at a loss right now why you are getting the connection refused error. The error is happening between the RM and the AM. The Dr who is something you can ignore. It is the default name that is given to a web user w