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 "Sunil Govindan (JIRA)" <ji...@apache.org> on 2018/06/05 16:38:00 UTC

[jira] [Updated] (YARN-8386) App log can not be viewed from Logs tab in secure cluster

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

Sunil Govindan updated YARN-8386:
---------------------------------
    Attachment: YARN-8386.001.patch

>  App log can not be viewed from Logs tab in secure cluster
> ----------------------------------------------------------
>
>                 Key: YARN-8386
>                 URL: https://issues.apache.org/jira/browse/YARN-8386
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn-ui-v2
>    Affects Versions: 3.1.0
>            Reporter: Yesha Vora
>            Assignee: Sunil Govindan
>            Priority: Critical
>         Attachments: YARN-8386.001.patch
>
>
> App Logs can not be viewed from UI2 logs tab.
> Steps:
> 1) Launch yarn serviceĀ 
> 2) Let application finish and go to Logs tab to view AM log
> Here, service am api is failing with 401 authentication error.
> {code}
> Request URL: http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_000001/logs/serviceam.log?_=1527799590942
> Request Method: GET
> Status Code: 401 Authentication required
> ==== Response ====
> html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
> <title>Error 401 Authentication required</title>
> </head>
> <body><h2>HTTP ERROR 401</h2>
> <p>Problem accessing /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_000001/logs/serviceam.log. Reason:
> <pre>    Authentication required</pre></p>
> </body>
> </html
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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