[ 
https://issues.apache.org/jira/browse/HBASE-20874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211319#comment-17211319
 ] 

Michael Stack commented on HBASE-20874:
---------------------------------------

Patch has a Compaction class that is to describe a Compaction. It has region 
name and family and list of files, which is good, but then it has whether the 
compaction is running or not and if running, a bunch of attributes.... not good 
(this is not description of the Compaction but of the Compaction execution). 
Also has attributes minor or major and whether short or long. The first is an 
attribute used constructing the compaction. The second is an attribute of 
execution scheduling irrelevant, say, we externalized the compaction runner.

It adds to the Admin interface new APIs that allows getting cluster Compaction 
objects – from Master... rather than to each RS. We have volumes of compaction 
API in Admin already.

Adds a RunningTasksThreadPoolExecutor so can ask the executor of its current 
state – what is it running.

Adds all current Compactions on the heartbeat (though we have a problem here, 
see HBASE-11747)

Adds a shell command to dump current set of cluster Compactions.

> Sending compaction descriptions from all regionservers to master.
> -----------------------------------------------------------------
>
>                 Key: HBASE-20874
>                 URL: https://issues.apache.org/jira/browse/HBASE-20874
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Mohit Goel
>            Assignee: Mohit Goel
>            Priority: Minor
>         Attachments: HBASE-20874.master.004.patch, 
> HBASE-20874.master.005.patch, HBASE-20874.master.006.patch, 
> HBASE-20874.master.007.patch, HBASE-20874.master.008.patch, 
> hbase-20874.master.009.patch, hbase-20874.master.010.patch
>
>
> Need to send the compaction description from region servers to Master , to 
> let master know of the entire compaction state of the cluster. Further need 
> to change the implementation of client Side API than like getCompactionState, 
> which will consult master for the result instead of sending individual 
> request to regionservers.



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

Reply via email to