[ 
https://issues.apache.org/jira/browse/YARN-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Shvachko updated YARN-6002:
--------------------------------------
    Fix Version/s:     (was: 2.7.4)

> 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
>    Affects Versions: 2.7.3
>            Reporter: Raul Gutierrez Segales
>            Priority: Minor
>         Attachments: YARN-6002-branch-2.7.001.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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to