You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/03/05 23:58:42 UTC

[jira] [Updated] (HBASE-10638) Improve error message when there is no region server available for move

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

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

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 0.98.1, 0.99.0
>
>         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.2#6252)