Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2135

YARNUIV2 RM Log Links broken when routed through Knox

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • 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.

      Description

      For a hadoop cluster that is enabled with knox gateway, the yarn logs are located at the following location:
      https://myhostname:8443/logs/hadoop-yarn-resourcemanager-myhostname.log. 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:
      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
      **

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Deepashree Gandhi Deepashree Gandhi
                Reporter:
                Deepashree Gandhi Deepashree Gandhi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m