-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.96.2, 0.98.1
-
Labels:
-
Environment:
CentOS release 6.4 (Final) x86_64 && hbase-0.98.1-cdh5.1.0
-
Hadoop Flags:Reviewed
-
Tags:RegionSplitter, UniformSplit,/ by zero
First create a table
> create 't1', 'f1'
Then split the table with util:
> bin/hbase org.apache.hadoop.hbase.util.RegionSplitter -r -o 2 t1 UniformSplit
Finally get the following error :
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)