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

YARN CLI for AM logs does not give any error message if entered invalid am value

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: yarn
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Entering invalid value for am in yarn logs CLI does not give any error message

      there is no amattempt 30 for the application
      yarn  logs -applicationId <applicationID> -am 30
      impl.TimelineClientImpl: Timeline service address: <ATS>
      INFO client.RMProxy: Connecting to ResourceManager at <RM>
      

        Attachments

        1. YARN-5083.1.patch
          1.0 kB
          Jian He
        2. YARN-5083.1.patch
          1.0 kB
          Jian He
        3. YARN-5083.2.patch
          3 kB
          Jian He
        4. YARN-5083.2-checkstyle-fix.patch
          3 kB
          Junping Du

          Activity

            People

            • Assignee:
              jianhe Jian He
              Reporter:
              ssathish@hortonworks.com Sumana Sathish
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: