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 815EB9BE2 for ; Wed, 25 Apr 2012 18:24:47 +0000 (UTC) Received: (qmail 22136 invoked by uid 500); 25 Apr 2012 18:24:47 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22089 invoked by uid 500); 25 Apr 2012 18:24:47 -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 21975 invoked by uid 99); 25 Apr 2012 18:24:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2012 18:24:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2012 18:24:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B365940E9D9 for ; Wed, 25 Apr 2012 18:24:23 +0000 (UTC) Date: Wed, 25 Apr 2012 18:24:23 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <688029636.1481.1335378263736.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2039267114.491.1334966854869.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5848) Create table with EMPTY_START_ROW passed as splitKey causes the HMaster to abort 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-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261897#comment-13261897 ] Hudson commented on HBASE-5848: ------------------------------- Integrated in HBase-0.94-security #21 (See [https://builds.apache.org/job/HBase-0.94-security/21/]) HBASE-5848 Addendum (Revision 1330106) Result = FAILURE larsh : Files : * /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java * /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestRegionRebalancing.java > Create table with EMPTY_START_ROW passed as splitKey causes the HMaster to abort > -------------------------------------------------------------------------------- > > Key: HBASE-5848 > URL: https://issues.apache.org/jira/browse/HBASE-5848 > Project: HBase > Issue Type: Bug > Components: client > Reporter: Lars Hofhansl > Assignee: ramkrishna.s.vasudevan > Priority: Minor > Fix For: 0.94.0, 0.96.0 > > Attachments: 5848-addendum-v2.txt, 5848-addendum-v3.txt, 5848-addendum-v4.txt, 5848-addendum-v5.txt, 5848-addendum-v6.txt, 5848-addendum-v7.txt, 5848-addendum-v7.txt, HBASE-5848.patch, HBASE-5848.patch, HBASE-5848_0.94.patch, HBASE-5848_addendum.patch > > > A coworker of mine just had this scenario. It does not make sense the EMPTY_START_ROW as splitKey (since the region with the empty start key is implicit), but it should not cause the HMaster to abort. > The abort happens because it tries to bulk assign the same region twice and then runs into race conditions with ZK. > The same would (presumably) happen when two identical split keys are passed, but the client blocks that. The simplest solution here is to also block passed null or EMPTY_START_ROW as split key by the client. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira