You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Bryan Beaudreault (Jira)" <ji...@apache.org> on 2021/12/06 22:15:00 UTC

[jira] [Created] (HBASE-26544) Add Admin or HBaseHbck method waiting for a procedure by pid

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)