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

Sukumaar Mane commented on YARN-1264:
-------------------------------------

What do you mean by logname in :
http://<nodemanager_host>:<port>/ws/v1/node/containerlogs/<containerid>/<user>/<logname>/?start=<position>

please provide example

> REST API for retrieving raw container logs
> ------------------------------------------
>
>                 Key: YARN-1264
>                 URL: https://issues.apache.org/jira/browse/YARN-1264
>             Project: Hadoop YARN
>          Issue Type: Wish
>          Components: nodemanager
>            Reporter: David Yan
>            Priority: Major
>
> Currently you can get an HTML page with the logs embedded in a <pre> element 
> from this URL: 
> http://<nodemanager_host>:<port>/node/containerlogs/<containerid>/<user>/<logname>/?start=<position>
> Would be nice if a REST call like:
> http://<nodemanager_host>:<port>/ws/v1/node/containerlogs/<containerid>/<user>/<logname>/?start=<position>
> gives the raw thing.
> Thanks.



--
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