Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4904 YARN Log tooling enhancements
  3. YARN-5080

Cannot obtain logs using YARN CLI -am for either KILLED or RUNNING AM

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • yarn
    • None
    • Reviewed

    Description

      When the application is running, if we try to obtain AM logs using

      yarn logs -applicationId <applicationId> -am 1
      

      It throws the following error

      Unable to get AM container informations for the application:<applicationId>
      Illegal character in scheme name at index 0: 0.0.0.0://<hostname>
      

      Attachments

        1. YARN-5080.addendum.patch
          1 kB
          Xuan Gong
        2. YARN-5080.3.patch
          1 kB
          Xuan Gong
        3. YARN-5080.2.patch
          2 kB
          Xuan Gong
        4. YARN-5080.1.patch
          1 kB
          Xuan Gong

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xgong Xuan Gong Assign to me
            ssathish@hortonworks.com Sumana Sathish
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment