You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2018/05/31 20:54:00 UTC

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

Yesha Vora created YARN-8386:
--------------------------------

             Summary:  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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org