hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devaraj k <devara...@huawei.com>
Subject RE: Hadoop 0.23.1 Application failed due to AM Container exited with exitCode 1
Date Tue, 27 Mar 2012 08:15:29 GMT
Can you check the container logs, why the AM container failed? By default container logs present
in /tmp/logs directory.

From: muzhu88 [muzhu88@163.com]
Sent: Tuesday, March 27, 2012 12:04 PM
To: common-issues@hadoop.apache.org
Subject: Hadoop 0.23.1 Application failed due to AM Container exited with exitCode 1

I setup a one node cluster, and deadons run fine.

However, when running randomwriter as: bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-0.23.1.jar
randomwriter out

But the job failed, and the info shows:

12/03/27 12:40:46 WARN conf.Configuration: fs.default.name is deprecated. Instead, use fs.defaultFS
12/03/27 12:40:46 WARN mapreduce.JobSubmitter: Use GenericOptionsParser for parsing the arguments.
Applications should implement Tool for the same.
12/03/27 12:40:46 INFO input.FileInputFormat: Total input paths to process : 1
12/03/27 12:40:47 INFO util.NativeCodeLoader: Loaded the native-hadoop library
12/03/27 12:40:47 WARN snappy.LoadSnappy: Snappy native library not loaded
12/03/27 12:40:47 INFO mapreduce.JobSubmitter: number of splits:1
12/03/27 12:40:48 INFO mapred.ResourceMgrDelegate: Submitted application application_1332808963273_0004
to ResourceManager at localhost/
12/03/27 12:40:48 INFO mapreduce.Job: The url to track the job: http://myubuntu:8088/proxy/application_1332808963273_0004/
12/03/27 12:40:48 INFO mapreduce.Job: Running job: job_1332808963273_0004
12/03/27 12:40:51 INFO mapreduce.Job: Job job_1332808963273_0004 running in uber mode : false
12/03/27 12:40:51 INFO mapreduce.Job:  map 0% reduce 0%
12/03/27 12:40:51 INFO mapreduce.Job: Job job_1332808963273_0004 failed with state FAILED
due to: Application application_1332808963273_0004 failed 1 times due to AM Container for
appattempt_1332808963273_0004_000001 exited with  exitCode: 1 due to:
.Failing this attempt.. Failing the application.
12/03/27 12:40:51 INFO mapreduce.Job: Counters: 0

What's the cause of "AM Container" exit?

View raw message