You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Csaba Skrabak (JIRA)" <ji...@apache.org> on 2018/04/04 15:23:00 UTC
[jira] [Commented] (HBASE-20286) Improving shell command
compaction_state
[ https://issues.apache.org/jira/browse/HBASE-20286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425711#comment-16425711 ]
Csaba Skrabak commented on HBASE-20286:
---------------------------------------
This whole issue appeared due to HBASE-15965. Right now its revert is under discussion.
I believe users don't really rely on this hidden command, the idea of a compaction_state command came from a testing task.
> Improving shell command compaction_state
> ----------------------------------------
>
> Key: HBASE-20286
> URL: https://issues.apache.org/jira/browse/HBASE-20286
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Reporter: Csaba Skrabak
> Priority: Minor
> Attachments: HBASE-20286.patch
>
>
> Command does not output anything, let's add a formatter.row call.
> We should include the possible outputs in the help text.
> *Further improvement possibility.* This command can be used for checking if the compaction is done but very impractical if one wants to wait _until_ it is done. Wish there would be a flag in the shell that enforces synchronous compactions, that is, every time you issue a compact or major_compact in the shell while this flag is set, you won't get back the prompt until it finishes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)