[
https://issues.apache.org/jira/browse/HBASE-16078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346066#comment-15346066
]
Samir Ahmic commented on HBASE-16078:
-------------------------------------
[~tedyu], [~appy] thanks for review. I will include licence in next patch. Here
is my opinion regarding usefulness of this and similar tools:
- execution time is 3-4 seconds faster then piping command to shell
- it is simple single propose tool intend for usage in bash scripts which
needs to manage balancer, and i believe is useful for critical operations
scripts like graceful_stop.sh and rolling-restart.sh where we need to do things
precise and simple as possible
- it is independent and probably will be less touched then hbase shell code
and that way will decrease possibility of scripts get broken (i should probably
put note in code saying that it is intended for internal use only, used by
graceful_stop.sh and rolling-restart.sh and that changes should be propagated
to scripts)
- if we replace our scripts with something else and we find this tool unused it
can be easily removed
> Create java cli tool for managing balancer states for scripts usage
> -------------------------------------------------------------------
>
> Key: HBASE-16078
> URL: https://issues.apache.org/jira/browse/HBASE-16078
> Project: HBase
> Issue Type: Improvement
> Components: scripts, util
> Affects Versions: 2.0.0
> Reporter: Samir Ahmic
> Assignee: Samir Ahmic
> Fix For: 2.0.0
>
> Attachments: HBASE-16078_v1.patch
>
>
> This ticket is result of discussion in
> [HBASE16044|https://issues.apache.org/jira/browse/HBASE-16044] to avoid
> "hbase shell" output parsing hacks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)