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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.1-beta
    • 2.7.0
    • nodemanager
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: