Description
We've seen various race conditions when using region_mover with multiple threads.
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
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
Looking at getTable, it's not thread safe. So the multithreaded that was added is incorrect.
Attachments
Attachments
Issue Links
- is duplicated by
-
HBASE-12875 Region mover script region_mover.rb sometimes fail with NPE
- Closed
- is related to
-
HBASE-8803 region_mover.rb should move multiple regions at a time
- Closed
-
HBASE-12875 Region mover script region_mover.rb sometimes fail with NPE
- Closed