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

[YARN UI2] Running Containers Logs from NM Local Dir are not shown in Applications - Logs Section

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0
    • Fix Version/s: None
    • Component/s: yarn-ui-v2
    • Labels:
      None

      Description

      [YARN UI2] Running Containers Logs from NM Local Dir are not shown in Applications - Logs Section. It shows only the aggregated log files for that container and does not show the log files which are present under NM Local Dir. YARN UI V1 was showing the log files from NM local dir.

      On Analysis found, UI2 calls AHSWebServices /containers/

      {containerid}

      /logs without nm.id and so AHSWebServices does not fetch from NodeManager WebServices, it fetches only from Aggregated App Log Dir.

      UI2 Shows Only Aggregated Logs

      NM Local Dir Logs which are not shown

      UI1 Shown local dir logs

      UI2 does not show log for Container_2

      Container_2 has logs under NM Local Dir

        Attachments

        1. YARN_UI_V1.png
          281 kB
          Prabhu Joseph
        2. Running_Container2_UI.png
          190 kB
          Prabhu Joseph
        3. Running_Container_Logs.png
          333 kB
          Prabhu Joseph
        4. Running_Container_Log_Dir.png
          94 kB
          Prabhu Joseph
        5. NM_Local_Dir.png
          90 kB
          Prabhu Joseph

          Activity

            People

            • Assignee:
              akhilpb Akhil PB
              Reporter:
              prabhujoseph Prabhu Joseph
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: