[ https://issues.apache.org/jira/browse/HBASE-19527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331032#comment-16331032 ]
stack commented on HBASE-19527: ------------------------------- Got a +1 too up on RB from [~Apache9] (Need to fix an import). Here is a case where this patch will help. TestRegionsOnMasterOptions.testRegionsOnAllServers is one of our flakies. Looking at a hang, a Pv2 Worker thread is stuck trying to set region status to CLOSE but the hbase:meta is not available – we are on our way out. Thread 2087 (ProcExecWrkr-8): State: TIMED_WAITING Blocked count: 6 Waited count: 11937 Stack: java.lang.Object.wait(Native Method) org.apache.hadoop.hbase.client.AsyncRequestFutureImpl.waitUntilDone(AsyncRequestFutureImpl.java:1228) org.apache.hadoop.hbase.client.AsyncRequestFutureImpl.waitUntilDone(AsyncRequestFutureImpl.java:1197) org.apache.hadoop.hbase.client.HTable.doBatchWithCallback(HTable.java:485) org.apache.hadoop.hbase.util.MultiHConnection.processBatchCallback(MultiHConnection.java:122) org.apache.hadoop.hbase.master.assignment.RegionStateStore.updateRegionLocation(RegionStateStore.java:222) org.apache.hadoop.hbase.master.assignment.RegionStateStore.updateUserRegionLocation(RegionStateStore.java:209) org.apache.hadoop.hbase.master.assignment.RegionStateStore.updateRegionLocation(RegionStateStore.java:149) org.apache.hadoop.hbase.master.assignment.AssignmentManager.markRegionAsClosing(AssignmentManager.java:1536) org.apache.hadoop.hbase.master.assignment.UnassignProcedure.updateTransition(UnassignProcedure.java:179) org.apache.hadoop.hbase.master.assignment.RegionTransitionProcedure.execute(RegionTransitionProcedure.java:309) org.apache.hadoop.hbase.master.assignment.RegionTransitionProcedure.execute(RegionTransitionProcedure.java:85) org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:845) org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1456) org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:1225) org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$800(ProcedureExecutor.java:78) org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:1735) > Make ExecutorService threads daemon=true. > ----------------------------------------- > > Key: HBASE-19527 > URL: https://issues.apache.org/jira/browse/HBASE-19527 > Project: HBase > Issue Type: Sub-task > Reporter: stack > Assignee: stack > Priority: Major > Fix For: 2.0.0-beta-2 > > Attachments: HBASE-19527.branch-2.001.patch, > HBASE-19527.branch-2.002.patch, HBASE-19527.master.001.patch, > HBASE-19527.master.001.patch, HBASE-19527.master.001.patch, > HBASE-19527.master.002.patch > > > Let me try this. ExecutorService runs OPENs, CLOSE, etc. If Server is going > down, no point in these threads sticking around (I think). Let me try this. -- This message was sent by Atlassian JIRA (v7.6.3#76005)