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 2016/03/04 14:21:40 UTC

[jira] [Updated] (YARN-3698) Correct node-manager redirection & make task attempt log files downloadable from all browsers

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

Sreenath Somarajapuram updated YARN-3698:
-----------------------------------------
    Summary: Correct node-manager redirection & make task attempt log files downloadable from all browsers  (was: Make task attempt log files accessible from webapps & correct node-manager redirection)

> Correct node-manager redirection & make task attempt log files downloadable from all browsers
> ---------------------------------------------------------------------------------------------
>
>                 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.
> Would be great if we provide raw log files for the users to download.
> 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. Without these we cannot provide a cross-browser download link.
>     Content-Disposition: attachment; filename="attempt-id.log"
>     Content-Type of text/plain
> # Correct nodemanager redirection:
> -- 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)