Hi, I am sorry to replied late. I have not yet to solve this problem. Do you 
have any suggestion about this bug? Actually, i have tried to use 
DiskVerticesInfo. It's work well.


------------------
Manna Xu
Cluster and Grid Computing Lab
School of Computer Science and Technology
Huazhong University of Science and Technology
Wuhan, 430074, China


 




------------------ 原始邮件 ------------------
发件人: "Edward J. Yoon";<[email protected]>;
发送时间: 2014年7月2日(星期三) 晚上10:38
收件人: "[email protected]"<[email protected]>; 

主题: Re: 回复:NoClassDefFoundError: 
org/apache/directmemory/utils/CacheValuesIterable



Hi, have you solved this problem?

On Tue, Jun 24, 2014 at 5:40 PM, .翄騯 & <[email protected]> wrote:
> sorry, I forget the error information.
> java.lang.NoClassDefFoundError: 
> org/apache/directmemory/utils/CacheValuesIterable‍
> at 
> org.apache.hama.graph.OffHeapVerticesInfo.skippingIterator(OffHeapVerticesInfo.java:112)‍at
>  org.apache.hama.graph.GraphJobRunner.cleanup(GraphJobRunner.java:163)‍at 
> org.apache.hama.bsp.BSPTask.runBSP(BSPTask.java:183)‍at 
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:146)‍at 
> org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:1246)‍Caused
>  by: java.lang.ClassNotFoundException: 
> org.apache.directmemory.utils.CacheValuesIterable‍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:424) at 
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at 
> java.lang.ClassLoader.loadClass(ClassLoader.java:357)‍
> ------------------
>
>
> Manna Xu
> Cluster and Grid Computing Lab
> School of Computer Science and Technology
> Huazhong University of Science and Technology
> Wuhan, 430074, China
>
>
>
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: ".翄騯 &";<[email protected]>;
> 发送时间: 2014年6月24日(星期二) 下午4:36
> 收件人: "user"<[email protected]>;
>
> 主题: NoClassDefFoundError: org/apache/directmemory/utils/CacheValuesIterable
>
>
>
> Hi,everyone.
>
>
> I have encountered a problem to using OffHeapVerticesInfo to load vertex in 
> RAM. I set the configuration of the job in this way :
>
>
> Conf.setClass("hama.graph.vertices.info",org.apache.hama.graph.OffHeapVerticesInfo.class,org.apache.hama.graph.VerticesInfo.class);‍‍
>
>
> and the version of hama I used is latest hama-0.6.4., and the algorithm is 
> just a simple PageRank. Then I get the error:
>
>
>
>
>
> I tried to solve this bug with add Apache DirectMemory libraries to lib 
> folder but it doesn't work. I choose two jar from maven dependencies:
> directmemory-cache-0.2.jar
> ‍directmemory-kryo-0.2.jar
> to add in hama's lib folder.
>
>
> The error information is as same as last time.
>
>
> I want know is there anyone meet the same question as me, and how to solve it.
>
>
> Thanks a lot.
>
>
>
>
> ------------------
> Manna Xu
> Cluster and Grid Computing Lab
> School of Computer Science and Technology
> Huazhong University of Science and Technology
> Wuhan, 430074, China



-- 
Best Regards, Edward J. Yoon
CEO at DataSayer Co., Ltd.
.

Reply via email to