incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Jungblut <thomas.jungb...@googlemail.com>
Subject Re: java.lang.NoClassDefFoundError: org/xerial/snappy/SnappyInputStream
Date Thu, 23 Feb 2012 07:51:20 GMT
You have to update your jars, Snappy is a new dependency for compression.

2012/2/23 Edward J. Yoon <edwardyoon@apache.org>

> I received below error message with pi example.
>
> 12/02/23 15:26:16 DEBUG sync.ZooKeeperSyncClientImpl: leaveBarrier()
> at superstep:-1 znode size: (0) znodes:[]
> 12/02/23 15:26:16 WARN bsp.GroomServer: Error running child
> java.lang.NoClassDefFoundError: org/xerial/snappy/SnappyInputStream
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:247)
>        at
> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:819)
>        at
> org.apache.hama.bsp.message.compress.BSPMessageCompressorFactory.getCompressor(BSPMessageCompressorFactory.java:37)
>        at
> org.apache.hama.bsp.message.CompressableMessageManager.initCompression(CompressableMessageManager.java:36)
>        at
> org.apache.hama.bsp.message.AvroMessageManagerImpl.init(AvroMessageManagerImpl.java:60)
>        at org.apache.hama.bsp.BSPPeerImpl.<init>(BSPPeerImpl.java:145)
>        at
> org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:969)
> Caused by: java.lang.ClassNotFoundException:
> org.xerial.snappy.SnappyInputStream
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>
>
> --
> Best Regards, Edward J. Yoon
> @eddieyoon
>



-- 
Thomas Jungblut
Berlin <thomas.jungblut@gmail.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message