[
https://issues.apache.org/jira/browse/YARN-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raul Gutierrez Segales updated YARN-6002:
-----------------------------------------
Attachment: YARN-6002.patch
> Range support when serving a container log
> ------------------------------------------
>
> Key: YARN-6002
> URL: https://issues.apache.org/jira/browse/YARN-6002
> Project: Hadoop YARN
> Issue Type: Bug
> Components: nodemanager
> Reporter: Raul Gutierrez Segales
> Priority: Minor
> Attachments: YARN-6002.patch
>
>
> Currently, when we access a container's logfile (via
> /ws/v1/node/containerlogs/) we can only get the full content, not a specified
> range.
> Support for the Range: header would improve this, special when dealing with
> big files that need to be tailed or streamed, i.e.:
> {code}
> curl -H 'Range: bytes=10240' \
> http://node:8042/ws/v1/node/containerlogs/container_XXX/stdout
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]