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

LinuxContainerExecutor.deleteAsUser can throw NPE if native executor returns an error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1-beta
    • Fix Version/s: 2.7.0
    • Component/s: nodemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      If the native executor returns an error trying to delete a path as a particular user when dir==null then the code can NPE trying to build a log message for the error. It blindly deferences dir in the log message despite the code just above explicitly handling the cases when dir could be null.

        Attachments

        1. YARN-3088.v1.txt
          6 kB
          Eric Payne

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: