You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/04/06 14:11:00 UTC

[jira] [Created] (HBASE-22179) Fix RawAsyncHBaseAdmin.getCompactionState

Duo Zhang created HBASE-22179:
---------------------------------

             Summary: Fix RawAsyncHBaseAdmin.getCompactionState
                 Key: HBASE-22179
                 URL: https://issues.apache.org/jira/browse/HBASE-22179
             Project: HBase
          Issue Type: Bug
          Components: Admin
            Reporter: Duo Zhang
             Fix For: 3.0.0, 2.2.0, 2.3.0, 2.1.5


{code}
                  if (!future.isDone()) {
                    future.complete(state);
                  }
{code}

This piece of code should be placed outside the for loop, it should be a typo. And we should use a thread safe collection to collect the region state instead of using an ArrayList.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)