You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Mohit Kundra <mo...@gmail.com> on 2012/05/11 08:56:51 UTC
java.io.IOException: Task process exit with nonzero status of 1
Hi ,
I am new user to hadoop . I have installed hadoop0.19.1 on single windows
machine.
Its http://localhost:50030/jobtracker.jsp and
http://localhost:50070/dfshealth.jsp pages are working fine but when i am
executing bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
It is showing below
$ bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
cygpath: cannot create short name of D:hadoop-0.19.1logs
Number of Maps = 5 Samples per Map = 100
Wrote input for Map #0
Wrote input for Map #1
Wrote input for Map #2
Wrote input for Map #3
Wrote input for Map #4
Starting Job
12/05/11 12:07:26 INFO mapred.JobClient:
Running job: job_201205111113_0002
12/05/11 12:07:27 INFO mapred.JobClient: map 0% reduce 0%
12/05/11 12:07:35 INFO mapred.JobClient: Task Id :
attempt_201205111113_0002_m_000006_ 0, Status : FAILED
java.io.IOException: Task process exit with nonzero status of 1.
at org.apache.hadoop.mapred.TaskRunner.run (TaskRunner.java:425)
Please tell me what is the root cause....
regards ,
Mohit
Re: java.io.IOException: Task process exit with nonzero status of 1
Posted by Harsh J <ha...@cloudera.com>.
Mohit,
Why are you using Hadoop-0.19, a version released many years ago?
Please download the latest stable available at
http://hadoop.apache.org/common/releases.html#Download instead.
On Fri, May 11, 2012 at 12:26 PM, Mohit Kundra <mo...@gmail.com> wrote:
> Hi ,
>
> I am new user to hadoop . I have installed hadoop0.19.1 on single windows
> machine.
> Its http://localhost:50030/jobtracker.jsp and
> http://localhost:50070/dfshealth.jsp pages are working fine but when i am
> executing bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
>
> It is showing below
>
> $ bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
> cygpath: cannot create short name of D:hadoop-0.19.1logs
> Number of Maps = 5 Samples per Map = 100
> Wrote input for Map #0
> Wrote input for Map #1
> Wrote input for Map #2
> Wrote input for Map #3
> Wrote input for Map #4
> Starting Job
> 12/05/11 12:07:26 INFO mapred.JobClient:
> Running job: job_201205111113_0002
> 12/05/11 12:07:27 INFO mapred.JobClient: map 0% reduce 0%
> 12/05/11 12:07:35 INFO mapred.JobClient: Task Id :
> attempt_201205111113_0002_m_000006_ 0, Status : FAILED
> java.io.IOException: Task process exit with nonzero status of 1.
> at org.apache.hadoop.mapred.TaskRunner.run (TaskRunner.java:425)
>
>
>
> Please tell me what is the root cause....
>
> regards ,
> Mohit
>
--
Harsh J
Re: java.io.IOException: Task process exit with nonzero status of 1
Posted by Prashant Kommireddi <pr...@gmail.com>.
You might be running out of disk space. Check for that on your cluster
nodes.
-Prashant
On Fri, May 11, 2012 at 12:21 AM, JunYong Li <li...@gmail.com> wrote:
> is there errors in the task outpu file?
> on the jobtracker.jsp click the Jobid link -> tasks link -> Taskid link ->
> Task logs link
>
> 2012/5/11 Mohit Kundra <mo...@gmail.com>
>
> > Hi ,
> >
> > I am new user to hadoop . I have installed hadoop0.19.1 on single windows
> > machine.
> > Its http://localhost:50030/jobtracker.jsp and
> > http://localhost:50070/dfshealth.jsp pages are working fine but when i
> am
> > executing bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
> >
> > It is showing below
> >
> > $ bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
> > cygpath: cannot create short name of D:hadoop-0.19.1logs
> > Number of Maps = 5 Samples per Map = 100
> > Wrote input for Map #0
> > Wrote input for Map #1
> > Wrote input for Map #2
> > Wrote input for Map #3
> > Wrote input for Map #4
> > Starting Job
> > 12/05/11 12:07:26 INFO mapred.JobClient:
> > Running job: job_201205111113_0002
> > 12/05/11 12:07:27 INFO mapred.JobClient: map 0% reduce 0%
> > 12/05/11 12:07:35 INFO mapred.JobClient: Task Id :
> > attempt_201205111113_0002_m_000006_ 0, Status : FAILED
> > java.io.IOException: Task process exit with nonzero status of 1.
> > at org.apache.hadoop.mapred.TaskRunner.run (TaskRunner.java:425)
> >
> >
> >
> > Please tell me what is the root cause....
> >
> > regards ,
> > Mohit
> >
> >
>
>
> --
> Regards
> Junyong
>
Re: java.io.IOException: Task process exit with nonzero status of 1
Posted by JunYong Li <li...@gmail.com>.
is there errors in the task outpu file?
on the jobtracker.jsp click the Jobid link -> tasks link -> Taskid link ->
Task logs link
2012/5/11 Mohit Kundra <mo...@gmail.com>
> Hi ,
>
> I am new user to hadoop . I have installed hadoop0.19.1 on single windows
> machine.
> Its http://localhost:50030/jobtracker.jsp and
> http://localhost:50070/dfshealth.jsp pages are working fine but when i am
> executing bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
>
> It is showing below
>
> $ bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
> cygpath: cannot create short name of D:hadoop-0.19.1logs
> Number of Maps = 5 Samples per Map = 100
> Wrote input for Map #0
> Wrote input for Map #1
> Wrote input for Map #2
> Wrote input for Map #3
> Wrote input for Map #4
> Starting Job
> 12/05/11 12:07:26 INFO mapred.JobClient:
> Running job: job_201205111113_0002
> 12/05/11 12:07:27 INFO mapred.JobClient: map 0% reduce 0%
> 12/05/11 12:07:35 INFO mapred.JobClient: Task Id :
> attempt_201205111113_0002_m_000006_ 0, Status : FAILED
> java.io.IOException: Task process exit with nonzero status of 1.
> at org.apache.hadoop.mapred.TaskRunner.run (TaskRunner.java:425)
>
>
>
> Please tell me what is the root cause....
>
> regards ,
> Mohit
>
>
--
Regards
Junyong
Re: java.io.IOException: Task process exit with nonzero status of 1
Posted by samir das mohapatra <sa...@gmail.com>.
Hi Mohit,
1) Hadoop is more portable with Linux,Ubantu or any non dos file
system.
but you are running hadoop on window it colud be the problem bcz hadoop
will generate some partial out put file for temporary use.
2) Another thing is that your are running hadoop version as 0.19 , I think
if you upgrade the version it will solve your problem. why bcz example what
exactly you are using it is having some problem with FileRead and Write
with Window OS.
3) Check your input file data bcz i could see your mapper is also 0%
4) If your are all right with whole scenario . please could your share your
logs under hadoop<version>/logs
there it self we can trace it very clearly.
Thanks
SAMIR
On Fri, May 11, 2012 at 12:26 PM, Mohit Kundra <mo...@gmail.com> wrote:
> Hi ,
>
> I am new user to hadoop . I have installed hadoop0.19.1 on single windows
> machine.
> Its http://localhost:50030/jobtracker.jsp and
> http://localhost:50070/dfshealth.jsp pages are working fine but when i am
> executing bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
> It is showing below
>
> $ bin/hadoop jar hadoop-0.19.1-examples.jar pi 5 100
> cygpath: cannot create short name of D:hadoop-0.19.1logs
> Number of Maps = 5 Samples per Map = 100
> Wrote input for Map #0
> Wrote input for Map #1
> Wrote input for Map #2
> Wrote input for Map #3
> Wrote input for Map #4
> Starting Job
> 12/05/11 12:07:26 INFO mapred.JobClient:
> Running job: job_201205111113_0002
> 12/05/11 12:07:27 INFO mapred.JobClient: map 0% reduce 0%
> 12/05/11 12:07:35 INFO mapred.JobClient: Task Id :
> attempt_201205111113_0002_m_000006_ 0, Status : FAILED
> java.io.IOException: Task process exit with nonzero status of 1.
> at org.apache.hadoop.mapred.TaskRunner.run (TaskRunner.java:425)
>
>
>
> Please tell me what is the root cause....
>
> regards ,
> Mohit
>
>