[ https://issues.apache.org/jira/browse/HBASE-21788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768023#comment-16768023 ]
Duo Zhang commented on HBASE-21788: ----------------------------------- {quote} 2019-02-06 07:59:16,925 ERROR [RpcServer.default.FPBQ.Fifo.handler=17,queue=2,port=16000] ipc.RpcServer: Unexpected throwable object java.lang.NullPointerException at org.apache.hadoop.hbase.master.assignment.AssignmentManager.reportTransition(AssignmentManager.java:950) at org.apache.hadoop.hbase.master.assignment.AssignmentManager.updateRegionTransition(AssignmentManager.java:922) at org.apache.hadoop.hbase.master.assignment.AssignmentManager.reportRegionStateTransition(AssignmentManager.java:838) at org.apache.hadoop.hbase.master.assignment.AssignmentManager.reportRegionStateTransition(AssignmentManager.java:883) at org.apache.hadoop.hbase.master.MasterRpcServices.reportRegionStateTransition(MasterRpcServices.java:1584) at org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos$RegionServerStatusService$2.callBlockingMethod(RegionServerStatusProtos.java:15176) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413) at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324) at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304) {quote} OK, seems the problem here is that, master is quit, and in stopProcedureExecutor we will set procedureExecutor to null, and if there are reportRegionStateTransition comes there will be a NPE. But seems no harm. what is the procedure with pid=44140? > OpenRegionProcedure (after recovery?) is unreliable and needs to be improved > ---------------------------------------------------------------------------- > > Key: HBASE-21788 > URL: https://issues.apache.org/jira/browse/HBASE-21788 > Project: HBase > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Sergey Shelukhin > Assignee: stack > Priority: Critical > Attachments: WAL-Orphan.log > > > Not much for this one yet. > I repeatedly see the cases when the region is stuck in OPENING, and after > master restart RIT is recovered, and stays WAITING; its OpenRegionProcedure > (also recovered) is stuck in Runnable and never does anything for hours. I > cannot find logs on the target server indicating that it ever tried to do > anything after master restart. > This procedure needs at the very least logging of what it's trying to do, and > maybe a timeout so it unconditionally fails after a configurable period (1 > hour?). > I may also investigate why it doesn't do anything and file a separate bug. I > wonder if it's somehow related to the region status check, but this is just a > hunch. -- This message was sent by Atlassian JIRA (v7.6.3#76005)