I follow the getting started page at
http://wiki.apache.org/hama/GettingStarted#Setting_up_Hama setting up
the hama system, but I keep getting the following error (saying the
system dir is null.)

After checking the /tmp/hadoop-${user}/bsp/, seems like there is no
system dir as BSPMaster contains code that would throws ioexception if
no system dir; but even adding system folder (e.g. touch
/tmp/hadoop-${user}/bsp/system) it still throws this error.

How can I solve this problem?

2010-10-30 16:16:59,585 INFO org.apache.hama.bsp.BSPMaster: problem
cleaning system directory: null
java.io.IOException: Call to lab01/140.127.220.29:9000 failed on local
exception: java.io.EOFException
        at org.apache.hadoop.ipc.Client.wrapException(Client.java:774)
        at org.apache.hadoop.ipc.Client.call(Client.java:742)
        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:105)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:169)
        at 
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
        at org.apache.hama.bsp.BSPMaster.<init>(BSPMaster.java:131)
        at org.apache.hama.bsp.BSPMaster.startTracker(BSPMaster.java:237)
        at org.apache.hama.bsp.BSPMaster.startMaster(BSPMaster.java:230)
        at org.apache.hama.BSPMasterRunner.run(BSPMasterRunner.java:43)
        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:53)
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)

Reply via email to