[ https://issues.apache.org/jira/browse/HBASE-11627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098188#comment-14098188 ]
Hudson commented on HBASE-11627: -------------------------------- SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #425 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/425/]) HBASE-11627 guard against divide by zero in RegionSplitter logging. (apurtell: rev f7bae0534f483672c8e0a16bf5b87bf574fb35fb) * hbase-server/src/main/java/org/apache/hadoop/hbase/util/RegionSplitter.java * hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java > 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)