hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryu Kobayashi <beter....@gmail.com>
Subject Re: Yarn question: All tasks fail without useful diagnose info when running Yarn
Date Mon, 17 Dec 2012 10:15:20 GMT
Hi, Cindy

Maybe, You are not set to yarn.application.classpath of yarn-site.xml.
Or, I think it is because the appropriate class path has not been set.


2012/12/14 Cindy Li <cili@ebaysf.com>

>  Hi, Folks,
>
>
>
> Can anyone share your successful configuration on a single node cluster?
>
>
>
> I ran Hadoop 2.0.2 alpha, got the tar ball from and configured according
> to apache website. I can start Nodemanager, resourcemanager, namenode,
> datanode on a single node, but can’t run any job, even a simple sleep job
> would fail.
>
>
>
> On the stdout:
>
> [cili@centos-3 hadoop-2.0.2-alpha]$ bin/hadoop jar
> share/hadoop/mapreduce/hadoop-mapreduce-test-2.0.2-alpha.jar sleep -m 10 -r
> 10
>
> 12/12/05 22:41:13 INFO service.AbstractService:
> Service:org.apache.hadoop.yarn.client.YarnClientImpl is inited.
>
> 12/12/05 22:41:13 INFO service.AbstractService:
> Service:org.apache.hadoop.yarn.client.YarnClientImpl is started.
>
> 12/12/05 22:41:14 INFO mapreduce.JobSubmitter: number of splits:10
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.jar is deprecated.
> Instead, use mapreduce.job.jar
>
> 12/12/05 22:41:14 WARN conf.Configuration:
> mapred.map.tasks.speculative.execution is deprecated. Instead, use
> mapreduce.map.speculative
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.reduce.tasks is
> deprecated. Instead, use mapreduce.job.reduces
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapreduce.partitioner.class is
> deprecated. Instead, use mapreduce.job.partitioner.class
>
> 12/12/05 22:41:14 WARN conf.Configuration:
> mapred.reduce.tasks.speculative.execution is deprecated. Instead, use
> mapreduce.reduce.speculative
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.mapoutput.value.class is
> deprecated. Instead, use mapreduce.map.output.value.class
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapreduce.map.class is
> deprecated. Instead, use mapreduce.job.map.class
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.job.name is deprecated.
> Instead, use mapreduce.job.name
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapreduce.reduce.class is
> deprecated. Instead, use mapreduce.job.reduce.class
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapreduce.inputformat.class is
> deprecated. Instead, use mapreduce.job.inputformat.class
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.input.dir is deprecated.
> Instead, use mapreduce.input.fileinputformat.inputdir
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapreduce.outputformat.class is
> deprecated. Instead, use mapreduce.job.outputformat.class
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.map.tasks is deprecated.
> Instead, use mapreduce.job.maps
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.mapoutput.key.class is
> deprecated. Instead, use mapreduce.map.output.key.class
>
> 12/12/05 22:41:14 WARN conf.Configuration: mapred.working.dir is
> deprecated. Instead, use mapreduce.job.working.dir
>
> 12/12/05 22:41:14 INFO mapreduce.JobSubmitter: Submitting tokens for job:
> job_1354775970476_0001
>
> 12/12/05 22:41:14 INFO client.YarnClientImpl: Submitted application
> application_1354775970476_0001 to ResourceManager at localhost/
> 127.0.0.1:8040
>
> 12/12/05 22:41:14 INFO mapreduce.Job: The url to track the job:
> http://centos-3.localdomain:8088/proxy/application_1354775970476_0001/
>
> 12/12/05 22:41:14 INFO mapreduce.Job: Running job: job_1354775970476_0001
>
> 12/12/05 22:41:21 INFO mapreduce.Job: Job job_1354775970476_0001 running
> in uber mode : false
>
> 12/12/05 22:41:21 INFO mapreduce.Job:  map 0% reduce 0%
>
> 12/12/05 22:41:21 INFO mapreduce.Job: Job job_1354775970476_0001 failed
> with state FAILED due to: Application application_1354775970476_0001 failed
> 1 times due to AM Container for appattempt_1354775970476_0001_000001 exited
> with  exitCode: 1 due to:
>
> .Failing this attempt.. Failing the application.
>
> 12/12/05 22:41:21 INFO mapreduce.Job: Counters: 0
>
>
>
> Anyone saw similar problem? How to resolve this?
>
>
>
> Thanks,
>
> Cindy
>
>
>



-- 
Ryu Kobayashi
<beter.max@gmail.com>
twitter:@ryu_kobayashi

Mime
View raw message