>We're having a problem when calling HBaseAdmin.split() on an empty region.
You are calling split on a region with out passing any split point right? 
Yes in that case if there are no data in the region it wont be able to do the 
split. In such a case the split point is calculated based on the max, min 
rowkeys in that region..
Can u pass the split key in your case?

-Anoop-
________________________________________
From: John Edstrom [[email protected]]
Sent: Thursday, September 20, 2012 11:03 PM
To: [email protected]
Subject: IllegalArgumentException when trying to split an empty region

Hello,

We're having a problem when calling HBaseAdmin.split() on an empty region.
The new regions are never getting created and the RegionServer appears to
be throwing an IllegalArgumentException with the following stack trace:
java.lang.IllegalArgumentException
at
java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:589)
at
java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:514)
2631   at
java.util.concurrent.Executors.newFixedThreadPool(Executors.java:84)
2632   at
org.apache.hadoop.hbase.regionserver.SplitTransaction.splitStoreFiles(SplitTransaction.java:592)
2633   at
org.apache.hadoop.hbase.regionserver.SplitTransaction.createDaughters(SplitTransaction.java:290)
2634   at
org.apache.hadoop.hbase.regionserver.SplitTransaction.execute(SplitTransaction.java:452)
2635   at
org.apache.hadoop.hbase.regionserver.SplitRequest.run(SplitRequest.java:67)
2636   at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
2637   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
2638   at java.lang.Thread.run(Thread.java:680)

Reply via email to