Reply
yyx
New Contributor
Posts: 3
Registered: ‎11-17-2013

RegionSplitter Exception in thread "main" java.lang.ArithmeticException: / by zero

Hi all,

 

I want to use RegionSplitter tools to re-split all the regions of the table in hbase-0.94.6-CDH4.5.0.

I run command as here : 

sudo -u hdfs hbase org.apache.hadoop.hbase.util.RegionSplitter -r weibo_515 HexStringSplit

 and find the exception below:

14/01/15 15:01:08 DEBUG util.RegionSplitter: Done with bucketing.  Split time!
14/01/15 15:01:08 DEBUG util.RegionSplitter: 7 RS have regions to splt.
14/01/15 15:01:08 DEBUG client.MetaScanner: Scanning .META. starting at row=weibo_515,,00000000000000 for max=2147483647 rows using org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@774acfcd
14/01/15 15:01:08 DEBUG util.RegionSplitter: TOTAL TIME = 0sec
14/01/15 15:01:08 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)

 Could you help me to solve the exception?

 

Thank you! :)

 

yuxin

Posts: 416
Topics: 51
Kudos: 88
Solutions: 49
Registered: ‎06-26-2013

Re: RegionSplitter Exception in thread "main" java.lang.ArithmeticException: / by zero

Sorry for the late reply, but this looks like HBASE-7138

Announcements