[
https://issues.apache.org/jira/browse/KNOX-2135?focusedWorklogId=348470&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-348470
]
ASF GitHub Bot logged work on KNOX-2135:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Nov/19 05:40
Start Date: 23/Nov/19 05:40
Worklog Time Spent: 10m
Work Description: deepashreeraghu commented on issue #204:
KNOX-2135-YARN-RM-Logs sub-links fix
URL: https://github.com/apache/knox/pull/204#issuecomment-557769446
@risdenk : Knox version is 1.0.0 and HDP version is 3.1.0
But, since most of the YARN links were failing with the rules that came with
the HDP cluster, I replaced those rules with the rules defined in the master
branch of this repo. With that almost all the links started working except for
the RM-logs sublinks. Hence fixed it and sent here for review.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 348470)
Time Spent: 0.5h (was: 20m)
> 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
> Assignee: Deepashree Gandhi
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {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)