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

Fix NPE in NodeManager#serviceStop on startup failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.0, 3.2.1, 3.1.3
    • None
    • None
    • Reviewed

    Description

      2019-04-24 14:06:44,101 WARN org.apache.hadoop.service.AbstractService: When stopping the service NodeManager
      java.lang.NullPointerException
      at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceStop(NodeManager.java:492)
      at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:220)
      at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:54)
      at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:102)
      at org.apache.hadoop.service.AbstractService.init(AbstractService.java:172)
      at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:947)
      at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:1018)

      Attachments

        1. YARN-9507-001.patch
          1 kB
          Bilwa S T

        Activity

          People

            BilwaST Bilwa S T
            BilwaST Bilwa S T
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: