hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Einspanjer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2514) RegionServer should refuse to be assigned a region that use LZO when LZO isn't available
Date Tue, 22 Jun 2010 17:14:55 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881252#action_12881252
] 

Daniel Einspanjer commented on HBASE-2514:
------------------------------------------

I ran into this when upgrading to 0.20.5-rc5.  I forgot to copy the hadoop-gpl-compression
jar.  The RS didn't shut down though, it just kept spewing those exceptions.

> RegionServer should refuse to be assigned a region that use LZO when LZO isn't available
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-2514
>                 URL: https://issues.apache.org/jira/browse/HBASE-2514
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Benoit Sigoure
>
> If a RegionServer is assigned a region that uses LZO but the required libraries aren't
installed on that RegionServer, the server will fail unexpectedly after throwing a {{java.lang.ClassNotFoundException:
com.hadoop.compression.lzo.LzoCodec}}
> {code}
> 2010-05-04 16:57:27,258 FATAL org.apache.hadoop.hbase.regionserver.MemStoreFlusher: Replay
of hlog required. Forcing server shutdown
> org.apache.hadoop.hbase.DroppedSnapshotException: region: tsdb,,1273011287339
>         at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:994)
>         at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:887)
>         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.flushRegion(MemStoreFlusher.java:255)
>         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.run(MemStoreFlusher.java:142)
> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.hadoop.compression.lzo.LzoCodec
>         at org.apache.hadoop.hbase.io.hfile.Compression$Algorithm$1.getCodec(Compression.java:91)
>         at org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.getCompressor(Compression.java:196)
>         at org.apache.hadoop.hbase.io.hfile.HFile$Writer.getCompressingStream(HFile.java:388)
>         at org.apache.hadoop.hbase.io.hfile.HFile$Writer.newBlock(HFile.java:374)
>         at org.apache.hadoop.hbase.io.hfile.HFile$Writer.checkBlockBoundary(HFile.java:345)
>         at org.apache.hadoop.hbase.io.hfile.HFile$Writer.append(HFile.java:517)
>         at org.apache.hadoop.hbase.io.hfile.HFile$Writer.append(HFile.java:482)
>         at org.apache.hadoop.hbase.regionserver.Store.internalFlushCache(Store.java:558)
>         at org.apache.hadoop.hbase.regionserver.Store.flushCache(Store.java:522)
>         at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:979)
>         ... 3 more
> Caused by: java.lang.ClassNotFoundException: com.hadoop.compression.lzo.LzoCodec
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
>         at org.apache.hadoop.hbase.io.hfile.Compression$Algorithm$1.getCodec(Compression.java:87)
>         ... 12 more
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message