Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8386

App log can not be viewed from Logs tab in secure cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0, 3.1.1
    • yarn-ui-v2
    • None
    • Reviewed

    Description

      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.

      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
      

      Attachments

        1. YARN-8386.001.patch
          8 kB
          Sunil G
        2. YARN-8386.002.patch
          12 kB
          Sunil G

        Activity

          People

            sunilg Sunil G
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: