Bryan Beaudreault created HBASE-26544:
-----------------------------------------
Summary: Add Admin or HBaseHbck method waiting for a procedure by
pid
Key: HBASE-26544
URL: https://issues.apache.org/jira/browse/HBASE-26544
Project: HBase
Issue Type: Improvement
Reporter: Bryan Beaudreault
HBaseHbck methods like unassigns and assigns return a list of pids. It's hard
to do anything with these pids because the GetProcedureResultRequest used by
HBaseAdmin is not publicly accessible. It would be very helpful to expose theĀ
waitProcedureResult method used by ProcedureFuture in HBaseAdmin, or something
else like that.
The use-case I have in mind is for a stuck region, where you might want to use
HBaseHbck.unassigns followed by assigns. But you should not do assigns until
the unassigns has finished, so we need a way to wait for the returned pids.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)