Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04ACD17BC4 for ; Thu, 22 Jan 2015 17:02:35 +0000 (UTC) Received: (qmail 4231 invoked by uid 500); 22 Jan 2015 17:02:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 4179 invoked by uid 500); 22 Jan 2015 17:02:34 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 4167 invoked by uid 99); 22 Jan 2015 17:02:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2015 17:02:34 +0000 Date: Thu, 22 Jan 2015 17:02:34 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12904) Threading issues in region_mover.rb MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287738#comment-14287738 ] Lars Hofhansl commented on HBASE-12904: --------------------------------------- Was going to @ mention you :) [~jmspaggi], I think this was introduced in HBASE-8803. > 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 > > > 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)