You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by Apurv Verma <da...@gmail.com> on 2012/01/25 03:20:02 UTC

Hama Example Running Problems

Hii,

I am having an installation of hadoop working perfectly fine. Then I
installed hama and tried to run an example but it gives the following
error. I was able to run this example perfectly well a few days back on my
computer.

It just hangs when I run the example. The logs continue to be generated
even when I ctrl+C. It is only after I shut down hama that logs are
terminated.

I have checked all confs are fine.

Somehow the connection is failing. The hadoop.tmp.dir = /app/hadoop-0.20/tmp
                                       fs.default.name =
hdfs://localhost:9000/

The folder /app/hadoop-0.20/tmp is accessible by the user running the hama
and hadoop.

The namenode is on as do the jps and the web interface tells.


2012-01-25 07:25:35,704 INFO org.apache.hama.bsp.BSPMaster: problem
cleaning system directory: null
java.io.IOException: Call to localhost/127.0.0.1:9000 failed on local
exception: java.io.EOFException
 at org.apache.hadoop.ipc.Client.wrapException(Client.java:775)
at org.apache.hadoop.ipc.Client.call(Client.java:743)
 at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
at $Proxy4.getProtocolVersion(Unknown Source)
 at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106)
 at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170)
 at
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
 at org.apache.hama.bsp.BSPMaster.<init>(BSPMaster.java:263)
at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:421)
 at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:415)
at org.apache.hama.BSPMasterRunner.run(BSPMasterRunner.java:46)
 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
 at org.apache.hama.BSPMasterRunner.main(BSPMasterRunner.java:56)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
 at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:501)
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)

--
thanks and regards,

Apurv Verma
B. Tech.(CSE)
IIT- Ropar

Re: Hama Example Running Problems

Posted by "Edward J. Yoon" <ed...@apache.org>.
Hi,

Please use the version 0.20.2 of hadoop.

http://ftp.daum.net/apache/hadoop/common/hadoop-0.20.2/

On Wed, Jan 25, 2012 at 11:20 AM, Apurv Verma <da...@gmail.com> wrote:
> Hii,
>
> I am having an installation of hadoop working perfectly fine. Then I
> installed hama and tried to run an example but it gives the following
> error. I was able to run this example perfectly well a few days back on my
> computer.
>
> It just hangs when I run the example. The logs continue to be generated
> even when I ctrl+C. It is only after I shut down hama that logs are
> terminated.
>
> I have checked all confs are fine.
>
> Somehow the connection is failing. The hadoop.tmp.dir = /app/hadoop-0.20/tmp
>                                       fs.default.name =
> hdfs://localhost:9000/
>
> The folder /app/hadoop-0.20/tmp is accessible by the user running the hama
> and hadoop.
>
> The namenode is on as do the jps and the web interface tells.
>
>
> 2012-01-25 07:25:35,704 INFO org.apache.hama.bsp.BSPMaster: problem
> cleaning system directory: null
> java.io.IOException: Call to localhost/127.0.0.1:9000 failed on local
> exception: java.io.EOFException
>  at org.apache.hadoop.ipc.Client.wrapException(Client.java:775)
> at org.apache.hadoop.ipc.Client.call(Client.java:743)
>  at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
> at $Proxy4.getProtocolVersion(Unknown Source)
>  at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
> at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:106)
>  at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:207)
> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:170)
>  at
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1378)
>  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1390)
>  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:196)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
>  at org.apache.hama.bsp.BSPMaster.<init>(BSPMaster.java:263)
> at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:421)
>  at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:415)
> at org.apache.hama.BSPMasterRunner.run(BSPMasterRunner.java:46)
>  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>  at org.apache.hama.BSPMasterRunner.main(BSPMasterRunner.java:56)
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:375)
>  at org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:501)
> at org.apache.hadoop.ipc.Client$Connection.run(Client.java:446)
>
> --
> thanks and regards,
>
> Apurv Verma
> B. Tech.(CSE)
> IIT- Ropar



-- 
Best Regards, Edward J. Yoon
@eddieyoon