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 "Xuan Gong (JIRA)" <ji...@apache.org> on 2016/04/25 17:51:13 UTC

[jira] [Commented] (YARN-4920) ATS/NM should support a link to dowload/get the logs in text format

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

Xuan Gong commented on YARN-4920:
---------------------------------

Create a new web service in AHS web service.
{code}
use 
ats_host:atsport/ws/v1/applicationhistory/containerlogs/{containerid}/{filename}
to show the container logs in ui

use
ats_host:atsport/ws/v1/applicationhistory/containerlogs/{containerid}/{filename}?download=true
to download the container logs 
{code}

For the running application, it will redirect the request to the related NM. For the finished apps, it will parse and download logs from hdfs

> ATS/NM should support a link to dowload/get the logs in text format
> -------------------------------------------------------------------
>
>                 Key: YARN-4920
>                 URL: https://issues.apache.org/jira/browse/YARN-4920
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-4920.20160424.branch-2.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)