You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2019/10/12 16:12:00 UTC

[jira] [Resolved] (HBASE-23152) Compaction_switch does not work by RegionServer name

     [ https://issues.apache.org/jira/browse/HBASE-23152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Stack resolved HBASE-23152.
-----------------------------------
    Fix Version/s: 2.2.2
                   2.3.0
                   3.0.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

Merged. Thanks for the patch [~kpalanisamy] Shout if you want it committed elsewhere.

> Compaction_switch does not work by RegionServer name
> ----------------------------------------------------
>
>                 Key: HBASE-23152
>                 URL: https://issues.apache.org/jira/browse/HBASE-23152
>             Project: HBase
>          Issue Type: Bug
>          Components: Client, Compaction
>    Affects Versions: 3.0.0
>            Reporter: Karthik Palanisamy
>            Assignee: Karthik Palanisamy
>            Priority: Major
>              Labels: client
>             Fix For: 3.0.0, 2.3.0, 2.2.2
>
>
> Compaction_switch is used to stop running compaction on regionservers. This switch works good by using "compaction_switch true/false" but rather I want to stop compaction only for particular regionserver. In that case, the switch doesn't work because serverName that we want to stop is not added into CompletableFuture<List<ServerName>> [link| [https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java#L3156] ]. So we always get empty Future list by using RS name. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)