hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lujing zui <lujing....@gmail.com>
Subject run it again problems
Date Fri, 21 Feb 2014 13:58:46 GMT
Hama 0.6.3 with hadoop 2.2.0.
only one host and configure as pseudo distributed mode.
and try one simple example PiEstimator or H

bin/hama jar examples/target/hama-example-0.6.3.jar pi

first time, everything is OK.
but run it again, it occur exception.

from 127.0.0.1:42329: error: java.io.IOException:
java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils
java.io.IOException: java.lang.NoClassDefFoundError:
org/apache/commons/io/IOUtils
	at org.apache.hadoop.hdfs.DFSInputStream.getBlockReader(DFSInputStream.java:1099)
	at org.apache.hadoop.hdfs.DFSInputStream.blockSeekTo(DFSInputStream.java:533)
	at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:749)
	at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:793)
	at java.io.DataInputStream.read(DataInputStream.java:100)
	at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:78)
	at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:52)
	at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:112)
	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:366)
	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
	at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:289)
	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:2086)
	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:2055)
	at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:2031)
	at org.apache.hama.bsp.JobInProgress.<init>(JobInProgress.java:157)
	at org.apache.hama.bsp.BSPMaster.submitJob(BSPMaster.java:607)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.hama.ipc.RPC$Server.call(RPC.java:613)
	at org.apache.hama.ipc.Server$Handler$1.run(Server.java:1211)
	at org.apache.hama.ipc.Server$Handler$1.run(Server.java:1207)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
	at org.apache.hama.ipc.Server$Handler.run(Server.java:1206)


I am not familar with hadoop or HAMA, but I so confused with it.

I google it, and cannot find sth useful.

Thanks for any help!

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