You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2015/01/22 17:58:34 UTC

[jira] [Created] (HBASE-12904) Threading issues in region_mover.rb

Lars Hofhansl created HBASE-12904:
-------------------------------------

             Summary: Threading issues in region_mover.rb
                 Key: HBASE-12904
                 URL: https://issues.apache.org/jira/browse/HBASE-12904
             Project: HBase
          Issue Type: Bug
            Reporter: Lars Hofhansl


We've seen various race conditions when using region_mover with multiple threads.

{code}
NoMethodError: undefined method `getScanner' for nil:NilClass
  isSuccessfulScan at /home/sfdc/current//bigdata-hbase/hbase/hbase/bin/region_mover.rb:138
     unloadRegions at /home/sfdc/current//bigdata-hbase/hbase/hbase/bin/region_mover.rb:360
{code}

{code}
NoMethodError: undefined method `[]=' for nil:NilClass
       getTable at /home/sfdc/current//bigdata-hbase/hbase/hbase/bin/region_mover.rb:64
  unloadRegions at /home/sfdc/current//bigdata-hbase/hbase/hbase/bin/region_mover.rb:359
{code}

Looking at getTable, it's not thread safe. So the multithreaded that was added is incorrect.



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