[
https://issues.apache.org/jira/browse/HBASE-22179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-22179.
-------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Pushed to branch-2.1+.
Thanks [~psomogyi] for reviewing.
> 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
> Assignee: Duo Zhang
> Priority: Major
> 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)