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

Srimanth Gunturi commented on YARN-988:
---------------------------------------

[~hitesh], My original goal was to get MR2 specific information via API. I went 
down the proxy path reading 
[http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/MapredAppMasterRest.html].
 How do I determine the host:port documented there? Also, once the application 
has completed, there is no AM to serve the API?

If there is any API, JMX way of getting MR specific information documented in 
YARN-989, please let me know.
                
> RM /proxy/app always gives HTML response
> ----------------------------------------
>
>                 Key: YARN-988
>                 URL: https://issues.apache.org/jira/browse/YARN-988
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api
>    Affects Versions: 2.1.0-beta
>            Reporter: Srimanth Gunturi
>
> A call to [http://host:8088/ws/v1/cluster/apps] gives back JSON response of 
> apps with trackingUrl of 
> [http://host:8088/proxy/application_1375116837536_0003/jobhistory/job/job_1375116837536_0003].
>  
> A GET call to this trackingUrl with {{Accept: application/json}} header 
> always results in HTML output. It redirects (302) to 
> [http://host:19888/jobhistory/job/job_1375116837536_0004/jobhistory/job/job_1375116837536_0004]
>  where the output is always HTML.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to