[ https://issues.apache.org/jira/browse/HBASE-12989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313442#comment-14313442 ]
Andrew Purtell commented on HBASE-12989: ---------------------------------------- No reason we couldn't actually replace region_mover.rb with a wrapper script around a new Java tool. > region_mover.rb unloadRegions method uses ArrayList concurrently resulting in > errors > ------------------------------------------------------------------------------------ > > Key: HBASE-12989 > URL: https://issues.apache.org/jira/browse/HBASE-12989 > Project: HBase > Issue Type: Bug > Components: scripts > Affects Versions: 0.98.10 > Reporter: Abhishek Singh Chouhan > Assignee: Abhishek Singh Chouhan > Priority: Minor > Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11 > > Attachments: HBASE-12989.patch > > > While working on HBASE-12822 ran into > {quote} > 15/02/04 13:16:44 [main] INFO reflect.GeneratedMethodAccessor35(?): Pool > completed > NoMethodError: undefined method `toByteArray' for nil:NilClass > __for__ at region_mover.rb:270 > each at > file:/home/sfdc/installed/bigdata-hbase__hbase.6_prod__9707645_Linux.x86_64.prod.runtime.bigdata-hbase_bigdata-hbase/hbase/hbase/lib/jruby-complete-1.6.8.jar!/builtin/java/java.util.rb:7 > writeFile at region_mover.rb:269 > unloadRegions at region_mover.rb:347 > (root) at region_mover.rb:501 > {quote} > This is because > movedRegions = java.util.ArrayList.new() > is being used concurrently in unloadRegions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)