Bug: Some tests involving RS crash fail with NullPointerException after HBASE-24632 in branch-2
Status: Resolved | Priority: Major | Resolution: Fixed
Created: 07/Aug/20 03:04
Affects Version/s: 2.4.0

After HBASE-24632, in some tests involving RS crash in branch-2, the following NullPointerException is happening repeatedly and the tests finally fail due to timeout:
{code:java}
2020-08-06 16:03:43,101 ERROR [RS_LOG_REPLAY_OPS-regionserver/10.0.1.11:0-1] handler.RSProcedureHandler(51): pid=17
java.lang.NullPointerException
	at org.apache.hadoop.hbase.regionserver.SplitLogWorker.splitLog(SplitLogWorker.java:107)
	at org.apache.hadoop.hbase.regionserver.SplitWALCallable.call(SplitWALCallable.java:100)
	at org.apache.hadoop.hbase.regionserver.SplitWALCallable.call(SplitWALCallable.java:45)
	at org.apache.hadoop.hbase.regionserver.handler.RSProcedureHandler.process(RSProcedureHandler.java:49)
	at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:104)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
{code}
It looks like the following tests fail:
{code:java}
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.TestSplitRegionWhileRSCrash.	12 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestHBCKSCP.	13 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithMetaWithReplicasWithoutZKCoordinated.	13 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithMetaWithoutZKCoordinated.	13 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithoutMeta.	13 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithoutMetaWithReplicas.	13 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithoutMetaWithoutZKCoordinated.	13 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSplitWALProcedure.	12 min	2
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.TestSplitWALManager.	13 min	4
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithMeta.	13 min	4
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithMetaWithReplicas.	13 min	4
precommit checks / yetus jdk11 hadoop3 checks / org.apache.hadoop.hbase.master.TestSplitWALManager.	12 min	4
precommit checks / yetus jdk11 hadoop3 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithMeta.	12 min	4
precommit checks / yetus jdk11 hadoop3 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithMetaWithReplicas.	12 min	4
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.TestMergeTableRegionsWhileRSCrash.	12 min	5
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.assignment.TestExceptionInAssignRegion.	12 min	5
precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.master.procedure.TestSCPWithoutMetaWithReplicasWithoutZKCoordinated.	13 min	5
precommit checks / yetus jdk11 hadoop3 checks / org.apache.hadoop.hbase.master.TestMergeTableRegionsWhileRSCrash.	12 min	5
precommit checks / yetus jdk11 hadoop3 checks / org.apache.hadoop.hbase.master.assignment.TestAssignmentOnRSCrash.	13 min	5
precommit checks / yetus jdk11 hadoop3 checks / org.apache.hadoop.hbase.master.assignment.TestExceptionInAssignRegion.	12 min	5
precommit checks / yetus jdk11 hadoop3 checks / org.apache.hadoop.hbase.master.assignment.TestExceptionInUnassignedRegion.	12 min	5
{code}