Umesh Agashe created HBASE-19939: ------------------------------------ Summary: TestSplitTableRegion#testSplitWithoutPONR() and testRecoveryAndDoubleExecution() are failing with NPE Key: HBASE-19939 URL: https://issues.apache.org/jira/browse/HBASE-19939 Project: HBase Issue Type: Improvement Components: amv2 Affects Versions: 2.0.0-beta-1 Reporter: Umesh Agashe Assignee: Umesh Agashe Fix For: 2.0.0-beta-2
Error is: {code:java} java.lang.AssertionError: found exception: java.lang.NullPointerException via CODE-BUG: Uncaught runtime exception: pid=154, state=RUNNABLE:SPLIT_TABLE_REGION_CREATE_DAUGHTER_REGIONS; SplitTableRegionProcedure table=testRecoveryAndDoubleExecution, parent=3d8d459ba395c2cf6b1e5c71aca92cfd, daughterA=c6531c10effa8e542159ab82a87bd75e, daughterB=ee34a9af88273b6c06e1a688fc50ed6e:java.lang.NullPointerException: at org.apache.hadoop.hbase.master.assignment.TestSplitTableRegionProcedure.testRecoveryAndDoubleExecution(TestSplitTableRegionProcedure.java:411){code} Exception from the output file: {code:java} 2018-02-05 18:00:48,205 ERROR [PEWorker-1] procedure2.ProcedureExecutor(1480): CODE-BUG: Uncaught runtime exception: pid=19, state=RUNNABLE:SPLIT_TABLE_REGION_CREATE_DAUGHTER_REGIONS; SplitTableRegionProcedure table=testSplitWithoutPONR, parent=57114194fb486a3988b232bcf10eb177, daughterA=749aa83c03b8f7c6b642cd73c5b51e43, daughterB=a53ec69e8dd2cfa6c0be2b9a7eb271bb java.lang.NullPointerException at org.apache.hadoop.hbase.master.assignment.SplitTableRegionProcedure.splitStoreFiles(SplitTableRegionProcedure.java:617) at org.apache.hadoop.hbase.master.assignment.SplitTableRegionProcedure.createDaughterRegions(SplitTableRegionProcedure.java:541) at org.apache.hadoop.hbase.master.assignment.SplitTableRegionProcedure.executeFromState(SplitTableRegionProcedure.java:241) at org.apache.hadoop.hbase.master.assignment.SplitTableRegionProcedure.executeFromState(SplitTableRegionProcedure.java:89) at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:180) at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:845) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1455) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:1224) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$800(ProcedureExecutor.java:78) at org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:1734){code} Value of 'htd' is null as it is initialized in the constructor but when the object is deserialized its null. -- This message was sent by Atlassian JIRA (v7.6.3#76005)