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

LogsCLI should contact ATSv2 for "-am" option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: