Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

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

New Contributor

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

1 REPLY 1
Highlighted

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

Master Collaborator

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