Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4DD210483 for ; Thu, 3 Apr 2014 00:33:22 +0000 (UTC) Received: (qmail 82671 invoked by uid 500); 3 Apr 2014 00:33:17 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 82267 invoked by uid 500); 3 Apr 2014 00:33:15 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 82217 invoked by uid 99); 3 Apr 2014 00:33:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2014 00:33:14 +0000 Date: Thu, 3 Apr 2014 00:33:14 +0000 (UTC) From: "Yi Deng (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-10901) Bug of createMultiRegions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Yi Deng created HBASE-10901: ------------------------------- Summary: Bug of createMultiRegions Key: HBASE-10901 URL: https://issues.apache.org/jira/browse/HBASE-10901 Project: HBase Issue Type: Bug Components: test Affects Versions: 0.89-fb Reporter: Yi Deng Fix For: 0.89-fb createMultiRegions and its friends have a problem that leads a bug getting null HRegionInfo from the .META. table in metaScan. The reason is : After createMultiRegions creates new regions, it deletes old region info from the META table. But some region server may have been openning the regions (though with a very low probability). After the rows of the openning region is completely removed, the region is openned. Then the region server tells the master its server and startCode. The master then write a row of only server address and startCode back to the META. Then a row without HRegionInfo in META table is generated. Suggestion of fix is not to use this method. Create tables directly with specified start/stop keys. -- This message was sent by Atlassian JIRA (v6.2#6252)