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 "Sreenath Somarajapuram (JIRA)" <ji...@apache.org> on 2015/06/04 20:10:39 UTC

[jira] [Updated] (YARN-3698) Make task attempt log files accessible from webapps

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

Sreenath Somarajapuram updated YARN-3698:
-----------------------------------------
    Description: 
Currently we don't have direct access to an attempt's log file from web apps. The only available option is through jobhistory, and that provides an HTML view of the log.

Requirements:
# A link to access the raw log file.
# A variant of the link with the following headers set, this enables direct download of the file across all browsers.
    Content-Disposition: attachment; filename="attempt-id.log"
    Content-Type of text/plain
# Node manager redirects an attempt syslog view to the container view. Hence we are not able to view the logs of a specific attempt.
Before redirection: http://sandbox.hortonworks.com:8042/node/containerlogs/container_1432048982252_0004_01_000002/root/syslog_attempt_1432048982252_0004_1_02_000000_0
After redirection: http://sandbox.hortonworks.com:19888/jobhistory/logs/sandbox.hortonworks.com:45454/container_1432048982252_0004_01_000002/container_1432048982252_0004_01_000002/root

  was:
Currently we don't have direct access to an attempt's log file from web apps. The only available option is through jobhistory, and that provides an HTML view of the log.

Requirements:
# A link to access the raw log file.
# A variant of the link with the following headers set, this enables direct download of the file across all browsers.
    Content-Disposition: attachment; filename="attempt-id.log"
    Content-Type of text/plain


> Make task attempt log files accessible from webapps
> ---------------------------------------------------
>
>                 Key: YARN-3698
>                 URL: https://issues.apache.org/jira/browse/YARN-3698
>             Project: Hadoop YARN
>          Issue Type: Task
>            Reporter: Sreenath Somarajapuram
>
> Currently we don't have direct access to an attempt's log file from web apps. The only available option is through jobhistory, and that provides an HTML view of the log.
> Requirements:
> # A link to access the raw log file.
> # A variant of the link with the following headers set, this enables direct download of the file across all browsers.
>     Content-Disposition: attachment; filename="attempt-id.log"
>     Content-Type of text/plain
> # Node manager redirects an attempt syslog view to the container view. Hence we are not able to view the logs of a specific attempt.
> Before redirection: http://sandbox.hortonworks.com:8042/node/containerlogs/container_1432048982252_0004_01_000002/root/syslog_attempt_1432048982252_0004_1_02_000000_0
> After redirection: http://sandbox.hortonworks.com:19888/jobhistory/logs/sandbox.hortonworks.com:45454/container_1432048982252_0004_01_000002/container_1432048982252_0004_01_000002/root



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