hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Naudus" <pnau...@dataraker.com>
Subject java.io.IOException: Compression algorithm 'snappy' previously failed test
Date Tue, 28 Feb 2012 21:52:00 GMT
Hello All,

I am using HBase-0.92.0 and Hadoop-0.23.0 . When attempting to create a  
table with snappy compression it gets stuck in the PENDING_OPEN state with  
the following message repeated in the region server's log file:

2012-02-28 21:08:18,010 INFO  
org.apache.hadoop.hbase.regionserver.HRegionServer: Received request to  
open region: staging_dev,,1330462814322.1300b0adf5bfad3a8aa4d88326802171.
2012-02-28 21:08:18,010 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign:  
regionserver:60020-0x35c5c0fb080003 Attempting to transition node  
1300b0adf5bfad3a8aa4d88326802171 from M_ZK_REGION_OFFLINE to  
RS_ZK_REGION_OPENING
2012-02-28 21:08:18,017 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign:  
regionserver:60020-0x35c5c0fb080003 Successfully transitioned node  
1300b0adf5bfad3a8aa4d88326802171 from M_ZK_REGION_OFFLINE to  
RS_ZK_REGION_OPENING
2012-02-28 21:08:18,018 DEBUG  
org.apache.hadoop.hbase.regionserver.HRegion: Opening region: {NAME =>  
'staging_dev,,1330462814322.1300b0adf5bfad3a8aa4d88326802171.', STARTKEY  
=> '', ENDKEY => '', ENCODED => 1300b0adf5bfad3a8aa4d88326802171,}
2012-02-28 21:08:18,018 INFO org.apache.hadoop.hbase.regionserver.HRegion:  
Setting up tabledescriptor config now ...
2012-02-28 21:08:18,018 DEBUG  
org.apache.hadoop.hbase.regionserver.HRegion: Instantiated  
staging_dev,,1330462814322.1300b0adf5bfad3a8aa4d88326802171.
2012-02-28 21:08:18,018 ERROR  
org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler: Failed  
open of region=staging_dev,,1330462814322.1300b0adf5bfad3a8aa4d88326802171.
java.io.IOException: Compression algorithm 'snappy' previously failed test.
         at  
org.apache.hadoop.hbase.util.CompressionTest.testCompression(CompressionTest.java:78)
         at  
org.apache.hadoop.hbase.regionserver.HRegion.checkCompressionCodecs(HRegion.java:3234)
         at  
org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:3223)
         at  
org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:3173)
         at  
org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:331)
         at  
org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:107)
         at  
org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:169)
         at  
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
2012-02-28 21:08:18,018 INFO  
org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler: Opening of  
region {NAME =>  
'staging_dev,,1330462814322.1300b0adf5bfad3a8aa4d88326802171.', STARTKEY  
=> '', ENDKEY => '', ENCODED => 1300b0adf5bfad3a8aa4d88326802171,} failed,  
marking as FAILED_OPEN in ZK
2012-02-28 21:08:18,018 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign:  
regionserver:60020-0x35c5c0fb080003 Attempting to transition node  
1300b0adf5bfad3a8aa4d88326802171 from RS_ZK_REGION_OPENING to  
RS_ZK_REGION_FAILED_OPEN
2012-02-28 21:08:18,054 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign:  
regionserver:60020-0x35c5c0fb080003 Successfully transitioned node  
1300b0adf5bfad3a8aa4d88326802171 from RS_ZK_REGION_OPENING to  
RS_ZK_REGION_FAILED_OPEN

I tried setting HBASE_LIBRARY_PATH ( and HBASE_CLASSPATH just in case ) to  
point to the directory containing libsnappy but I am still getting this  
error

What else can I do to fix / diagnose this problem?

Thanks!

~ Peter

Mime
View raw message