You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hama.apache.org by Vahe nr <vn...@gmail.com> on 2013/09/06 09:36:35 UTC

hama pi Job failed

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

Re: hama pi Job failed

Posted by Vahe nr <vn...@gmail.com>.
Hi Chia-Hung Lin,

Thanks for your response, I have already solved the problem it was some
configuration error on the Datanode.

Regards,
 Vahe


On Mon, Sep 9, 2013 at 3:06 PM, Chia-Hung Lin <cl...@googlemail.com> wrote:

> 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 <vn...@gmail.com> 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
>

Re: hama pi Job failed

Posted by Chia-Hung Lin <cl...@googlemail.com>.
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 <vn...@gmail.com> 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