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

RM can return null application resource usage report leading to NPE in client

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.3-alpha, 0.23.6
    • 0.23.7, 2.1.0-beta
    • resourcemanager
    • None

    Description

      RMAppImpl.createAndGetApplicationReport can return a report with a null resource usage report if full access to the app is allowed but the application has no current attempt. This leads to NPEs in client code that assumes an app report will always have at least an empty resource usage report.

      Attachments

        1. YARN-400.patch
          4 kB
          Jason Darrell Lowe
        2. YARN-400-branch-0.23.patch
          3 kB
          Jason Darrell Lowe

        Activity

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

          People

            jlowe Jason Darrell Lowe
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment