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

LogsCLI should contact ATSv2 for "-am" option

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:

      Description

      yarn logs -applicationId appId -am 1 contact ATS1.5 even though it is not configured. Rather LogsCLI should contact ATSv2 for AM container info.

      Alternative to above one can use yarn logs -containerId <am-contanier-id> to fetch logs. But -am option should also work along with ATSv2.0

        Attachments

        1. YARN-9044.01.patch
          9 kB
          Rohith Sharma K S
        2. YARN-9044.01.patch
          9 kB
          Rohith Sharma K S
        3. YARN-9044.02.patch
          10 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              rohithsharma Rohith Sharma K S
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: