You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/02/28 17:16:21 UTC

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

Ted Yu created HBASE-10638:
------------------------------

             Summary: 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)