Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3834

TaskSchedulerManager NullPointerException during shutdown when failed to start

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      NPE 1
      2017-09-14 12:16:48,259 [ERROR] [main] |rm.TaskSchedulerManager|: Failed to do a clean initiateStop for Scheduler: [0:TezYarn]
      java.lang.NullPointerException
      	at org.apache.tez.dag.app.rm.TaskSchedulerManager.initiateStop(TaskSchedulerManager.java:696)
      	at org.apache.tez.dag.app.DAGAppMaster.initiateStop(DAGAppMaster.java:2223)
      	at org.apache.tez.dag.app.DAGAppMaster.serviceStop(DAGAppMaster.java:2239)
      	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
      	at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
      	at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
      	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:203)
      	at org.apache.tez.dag.app.DAGAppMaster$9.run(DAGAppMaster.java:2707)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:422)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1936)
      	at org.apache.tez.dag.app.DAGAppMaster.initAndStartAppMaster(DAGAppMaster.java:2703)
      	at org.apache.tez.dag.app.DAGAppMaster.main(DAGAppMaster.java:2508)
      
      NPE 2
      2017-09-14 12:16:48,610 [ERROR] [main] |rm.TaskSchedulerManager|: Error in TaskScheduler when checking if a scheduler has unregistered, scheduler=[0:TezYarn]
      java.lang.NullPointerException
      	at org.apache.tez.dag.app.rm.TaskSchedulerManager.hasUnregistered(TaskSchedulerManager.java:998)
      	at org.apache.tez.dag.app.DAGAppMaster.serviceStop(DAGAppMaster.java:2252)
      	at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
      	at org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
      	at org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
      	at org.apache.hadoop.service.AbstractService.start(AbstractService.java:203)
      	at org.apache.tez.dag.app.DAGAppMaster$9.run(DAGAppMaster.java:2707)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:422)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1936)
      	at org.apache.tez.dag.app.DAGAppMaster.initAndStartAppMaster(DAGAppMaster.java:2703)
      	at org.apache.tez.dag.app.DAGAppMaster.main(DAGAppMaster.java:2508)
      

        Attachments

        1. TEZ-3834.001.patch
          3 kB
          Jonathan Turner Eagles
        2. TEZ-3834.002.patch
          3 kB
          Jonathan Turner Eagles
        3. TEZ-3834.003.patch
          3 kB
          Jonathan Turner Eagles

          Issue Links

            Activity

              People

              • Assignee:
                jeagles Jonathan Turner Eagles
                Reporter:
                jeagles Jonathan Turner Eagles
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: