Description
I noticed the following:
2016-10-18 18:47:39,313 INFO [Time-limited test] procedure.TestMasterFailoverWithProcedures(306): Restart 2 exec state: TRUNCATE_TABLE_CLEAR_FS_LAYOUT
Exception in thread "ProcedureExecutorWorker-1" java.lang.NullPointerException
at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.stop(ProcedureExecutor.java:533)
at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1197)
at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:959)
at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$700(ProcedureExecutor.java:73)
at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:1405)
This seems to be the result of race between stop() and join() methods.