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

Ted Yu updated HBASE-10638:
---------------------------

    Attachment: 10638-v1.txt

> Improve error message when there is no region server available for move
> -----------------------------------------------------------------------
>
>                 Key: HBASE-10638
>                 URL: https://issues.apache.org/jira/browse/HBASE-10638
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 10638-v1.txt
>
>
> When there is no region server available to move regions to, we would see:
> {code}
> Valid region move targets:
> TypeError: can't convert nil into String
>         __for__ at /usr/lib/hbase/bin/region_mover.rb:336
>            call at org/jruby/RubyProc.java:270
>            call at org/jruby/RubyProc.java:220
>            each at 
> file:/usr/lib/hbase/lib/jruby-complete-1.6.5.jar!/builtin/java/java.util.rb:7
>   unloadRegions at /usr/lib/hbase/bin/region_mover.rb:333
>          (root) at /usr/lib/hbase/bin/region_mover.rb:471
> {code}
> Better error message / exit code should be provided.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to