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

Jerry He commented on HBASE-14309:
----------------------------------

Hi, Ted

You v2 patch is fine for the ruby script. You only need to add the default 
'nil', like the following:
{code}
             def command(force=nil)
             if force.nil?
               admin.balancer()? "true": "false"
            elsif force == "force"
              admin.balancer("true")? "true": "false"
{code}

> Allow load balancer to operate when there is region in transition by adding 
> force flag
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-14309
>                 URL: https://issues.apache.org/jira/browse/HBASE-14309
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 14309-branch-1.1.txt, 14309-v1.txt, 14309-v2.txt, 
> 14309-v3.txt, 14309-v4.txt
>
>
> This issue adds boolean parameter, force, to 'balancer' command so that admin 
> can force region balancing even when there is region in transition - assuming 
> RIT being transient.
> This enhancement was requested by some customer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to