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)

Reply via email to