You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Deepashree Gandhi (Jira)" <ji...@apache.org> on 2019/11/22 04:59:00 UTC

[jira] [Created] (KNOX-2135) Yarn RM Log Links broken when routed through Knox

Deepashree Gandhi created KNOX-2135:
---------------------------------------

             Summary: Yarn RM Log Links broken when routed through Knox
                 Key: KNOX-2135
                 URL: https://issues.apache.org/jira/browse/KNOX-2135
             Project: Apache Knox
          Issue Type: Bug
    Affects Versions: 1.0.0
         Environment: How to repro
With Ambari UI ->  Yarn -> Quick Links -> Resource Manager Logs -> This lists a list of links to job summary logs, the yarn resource manager logs and the rm-audit logs.
Click on any of the links to see the error.
            Reporter: Deepashree Gandhi


{color:#1d1c1d}For a hadoop cluster that is enabled with knox gateway, the yarn logs are located at the following location:{color}
[https://myhostname:8443/logs/hadoop-yarn-resourcemanager-myhostname.log]{color:#1d1c1d}. Similar locations for the jobsummary and audit logs. However due to knox rewrite rule bug, these links are not accessible. They fail with following error:{color}
HTTP ERROR 404
Problem accessing /logs/hadoop-yarn-resourcemanager-myhostname.log. Reason:Not Found
Powered by Jetty:// 9.4.12.v20180830

HTTP ERROR 404
Problem accessing /logs/hadoop-mapreduce.jobsummary.log. Reason: Not Found
Powered by Jetty:// 9.4.12.v20180830

HTTP ERROR 404
Problem accessing /logs/rm-audit.log. Reason:
Powered by Jetty:// 9.4.12.v20180830
**{color:#1d1c1d}
{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)