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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha, 0.23.6
    • Fix Version/s: 0.23.7, 2.1.0-beta
    • Component/s: resourcemanager
    • Labels:
      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 Lowe
        2. YARN-400-branch-0.23.patch
          3 kB
          Jason Lowe

          Activity

            People

            • Assignee:
              jlowe Jason Lowe
              Reporter:
              jlowe Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: