Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10638

Improve error message when there is no region server available for move

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.1, 0.99.0
    • None
    • None
    • Reviewed

    Description

      When there is no region server available to move regions to, we would see:

      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
      

      Better error message / exit code should be provided.

      Attachments

        1. 10638-v1.txt
          0.6 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: