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 6DFEF11981 for ; Fri, 15 Aug 2014 00:50:20 +0000 (UTC) Received: (qmail 39357 invoked by uid 500); 15 Aug 2014 00:50:19 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 39324 invoked by uid 500); 15 Aug 2014 00:50:19 -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 39221 invoked by uid 99); 15 Aug 2014 00:50:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 00:50:19 +0000 Date: Fri, 15 Aug 2014 00:50:19 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11627) RegionSplitter's rollingSplit terminated with "/ by zero", and the _balancedSplit file was not deleted properly 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-11627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-11627: ----------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed to 0.98+. Thanks for the patch [~busbey]! > RegionSplitter's rollingSplit terminated with "/ by zero", and the _balancedSplit file was not deleted properly > --------------------------------------------------------------------------------------------------------------- > > Key: HBASE-11627 > URL: https://issues.apache.org/jira/browse/HBASE-11627 > Project: HBase > Issue Type: Bug > Components: Admin, util > Affects Versions: 0.96.2, 0.98.1 > Environment: CentOS release 6.4 (Final) x86_64 && hbase-0.98.1-cdh5.1.0 > Reporter: louis hust > Assignee: Sean Busbey > Labels: beginner > Fix For: 0.99.0, 2.0.0, 0.98.6 > > Attachments: HBASE_11627-v2.patch, HBASE_11627-v3.patch, HBASE_11627-v4.patch, HBASE_11627-v5.patch, HBASE_11627-v6.patch, HBASE_11627-v7.patch, HBASE_11627.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > First create a table > {quote} > > create 't1', 'f1' > {quote} > Then split the table with util: > {quote} > > bin/hbase org.apache.hadoop.hbase.util.RegionSplitter -r -o 2 t1 UniformSplit > {quote} > *Finally get the following error :* > {quote} > 12/11/08 19:21:12 DEBUG util.RegionSplitter: All regions have been successfully split! > 12/11/08 19:21:12 DEBUG util.RegionSplitter: TOTAL TIME = 30sec > 12/11/08 19:21:12 DEBUG util.RegionSplitter: Splits = 0 > Exception in thread "main" java.lang.ArithmeticException: / by zero > at org.apache.hadoop.hbase.util.RegionSplitter.rollingSplit(RegionSplitter.java:576) > at org.apache.hadoop.hbase.util.RegionSplitter.main(RegionSplitter.java:349) > {quote} -- This message was sent by Atlassian JIRA (v6.2#6252)