You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/08/21 23:40:52 UTC

[jira] [Commented] (YARN-649) Make container logs available over HTTP in plain text

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

Sandy Ryza commented on YARN-649:
---------------------------------

Uploading a new patch that
* Puts IOUtils.skipFully(logByteStream, start) back in.  My mistake.
* Changes the annotation to Unstable and includes documentation on how long logs will be available.
* Removes the mortbay log and throws a YarnException on the URISyntaxException

I manually verified that the buffering works by creating a log file larger than the NodeManager memory, retrieving it with the API, and observing that the NodeManager did not fall over.
                
> Make container logs available over HTTP in plain text
> -----------------------------------------------------
>
>                 Key: YARN-649
>                 URL: https://issues.apache.org/jira/browse/YARN-649
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>    Affects Versions: 2.0.4-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: YARN-649-2.patch, YARN-649-3.patch, YARN-649-4.patch, YARN-649-5.patch, YARN-649.patch, YARN-752-1.patch
>
>
> It would be good to make container logs available over the REST API for MAPREDUCE-4362 and so that they can be accessed programatically in general.

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