Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Region stuck in Transition FAILED_OPEN after upgrade to HBase0.98


Copy link to this message
-
Re: Region stuck in Transition FAILED_OPEN after upgrade to HBase0.98
+Phoenix Mailing List

Hi,

I found the log. This table is a catalog table of Phoenix. It seems like
this table was looking for a Phoenix class and AFAIK phoenix jars were not
present in classpath of HBase Daemons. So, it got stuck.

Here is the error log:

Failed open of region=SYSTEM.CATALOG,,1397780246020.6c12ff0021f80eea22666e4ae625b150.,
starting to roll back the global memstore size.
java.io.IOException: Unable to load configured region split policy
'org.apache.phoenix.schema.MetaDataSplitPolicy' for table
'SYSTEM.CATALOG'
at org.apache.hadoop.hbase.regionserver.RegionSplitPolicy.getSplitPolicyClass(RegionSplitPolicy.java:121)
at org.apache.hadoop.hbase.regionserver.RegionSplitPolicy.create(RegionSplitPolicy.java:101)
at org.apache.hadoop.hbase.regionserver.HRegion.initializeRegionInternals(HRegion.java:728)
at org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:685)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4479)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4449)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4421)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4377)
at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4328)
at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:465)
at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:139)
at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:128)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.apache.phoenix.schema.MetaDataSplitPolicy
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.apache.hadoop.hbase.regionserver.RegionSplitPolicy.getSplitPolicyClass(RegionSplitPolicy.java:117)
... 14 more
How did it start working?

In meantime, I think our Hadoop Admin copied Phoenix jars in HBase
classpath dir and restarted HBase.
Thanks,
Anil Gupta
On Tue, Jul 29, 2014 at 7:55 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
Thanks & Regards,
Anil Gupta