[
https://issues.apache.org/jira/browse/YARN-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Yan updated YARN-1264:
----------------------------
Description:
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.
was:
Currently you can get 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.
> 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
>
> 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
(v6.1#6144)