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

Sunil Govindan commented on YARN-8386:
--------------------------------------

Updated v2 patch.

Tested in secure and no-secure cluster with Ats1.5 and Ats2.

Logs are coming and getting displayed correctly. Also checked when Log 
Aggregation is disabled.

[~rohithsharma] pls help to review this latest 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, YARN-8386.002.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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to