hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12904) Threading issues in region_mover.rb
Date Fri, 23 Jan 2015 05:35:35 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288774#comment-14288774
] 

Hudson commented on HBASE-12904:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #6047 (See [https://builds.apache.org/job/HBase-TRUNK/6047/])
HBASE-12904 Threading issues in region_mover.rb (apurtell: rev e370baf8a50adb0533bf6cae78f7b7986bdd2714)
* bin/region_mover.rb


> Threading issues in region_mover.rb
> -----------------------------------
>
>                 Key: HBASE-12904
>                 URL: https://issues.apache.org/jira/browse/HBASE-12904
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.9
>            Reporter: Lars Hofhansl
>            Assignee: Andrew Purtell
>             Fix For: 1.0.0, 2.0.0, 0.98.10, 1.1.0
>
>         Attachments: HBASE-12904-0.98.patch, HBASE-12904.patch
>
>
> 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)

Mime
View raw message