Perhaps you can check the log files at $HAMA_HOME/logs/tasklogs for the detail error messages. That might give you more information on what problems happen.
On 6 September 2013 15:36, Vahe nr <[email protected]> wrote: > Dear all, > > I am a new user of hama, te Hadoop and hama were installed and running > successfully but when I am trying to execute pi example to test hama > cluster I am getting the following: >>/home/hadoop/hama-0.6.2/bin/hama jar hama-examples-0.6.2.jar pi > 13/09/06 12:21:20 INFO mortbay.log: Logging to > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > org.mortbay.log.Slf4jLog > 13/09/06 12:21:22 INFO bsp.BSPJobClient: Running job: job_201309061220_0001 > 13/09/06 12:21:25 INFO bsp.BSPJobClient: Current supersteps number: 0 > 13/09/06 12:21:34 WARN bsp.BSPJobClient: Error reading task > outputhttp://hslave01:40015/tasklog?plaintext=true&taskid=attempt_201309061220_0001_000000_0&filter=stdout > 13/09/06 12:21:34 INFO bsp.BSPJobClient: Job failed. > > In the log file: > cat hama-hadoop-bspmaster-hmaster.log > 2013-09-06 12:21:22,094 INFO org.apache.hama.bsp.JobInProgress: Job is > initialized. > 2013-09-06 12:21:32,885 INFO org.apache.hama.bsp.JobInProgress: Taskid > 'attempt_201309061220_0001_000000_0' has failed. > 2013-09-06 12:21:32,885 INFO org.apache.hama.bsp.TaskInProgress: Task > 'task_201309061220_0001_000000' has failed. > 2013-09-06 12:21:32,920 INFO org.apache.hama.bsp.JobInProgress: Job failed. > 2013-09-06 12:21:42,903 INFO org.apache.hama.bsp.JobInProgress: Taskid > 'attempt_201309061220_0001_000002_0' has failed. > 2013-09-06 12:21:42,903 INFO org.apache.hama.bsp.TaskInProgress: Task > 'task_201309061220_0001_000002' has failed. > 2013-09-06 12:21:42,904 INFO org.apache.hama.bsp.JobInProgress: Job failed. > 2013-09-06 12:21:52,922 INFO org.apache.hama.bsp.JobInProgress: Taskid > 'attempt_201309061220_0001_000001_0' has failed. > 2013-09-06 12:21:52,922 INFO org.apache.hama.bsp.TaskInProgress: Task > 'task_201309061220_0001_000001' has failed. > 2013-09-06 12:21:52,924 INFO org.apache.hama.bsp.JobInProgress: Job failed. > > Let me also mention that the cluster contains one Namenode and one Datanode > and this is the output of jps on each of them: > Namenode: > 6039 BSPMasterRunner > 2068 NameNode > 2727 TaskTracker > 6272 Jps > 2550 JobTracker > 5989 ZooKeeperRunner > 2241 DataNode > 2424 SecondaryNameNode > Datanode: > 2303 DataNode > 12864 GroomServerRunner > 13126 Jps > > I will appreciate any help or suggestion to solve this issue. > > Thanks in advance. > > Regards, > Vahe
