title: Hadoop Mapper is failing because of "Container killed by the ApplicationMaster"
body: <p>I am trying to execute a map reduce program on Hadoop.</p>
  
  <p>When i submit my job to the hadoop single node cluster. The job is getting created but failing with the message </p>
  
  <p>"Container killed by the ApplicationMaster"</p>
  
  <p>The input used is of the size 10 MB.</p>
  
  <p>When i used the same script of input file 400 KB, it got succeded. But failing for the the input file of size 10 MB.</p>
  
  <p>The complete log that is displayed in my terminal is as follows.</p>
  
  <pre><code>    15/05/29 09:52:16 WARN util.NativeCodeLoader: Unable to `load native-  hadoop library for your platform... using builtin-java classes      where applicable
  Submitting job on the cluster...
  15/05/29 09:52:17 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
  15/05/29 09:52:18 INFO input.FileInputFormat: Total input paths to process : 1
  15/05/29 09:52:18 INFO mapreduce.JobSubmitter: number of splits:1
  15/05/29 09:52:19 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1432910768528_0001
  15/05/29 09:52:19 INFO impl.YarnClientImpl: Submitted application application_1432910768528_0001
  15/05/29 09:52:19 INFO mapreduce.Job: The url to track the job: http://localhost:8088/proxy/application_1432910768528_0001/
  15/05/29 09:52:19 INFO mapreduce.Job: Running job: job_1432910768528_0001
  15/05/29 09:52:29 INFO mapreduce.Job: Job job_1432910768528_0001 running in uber mode : false
  15/05/29 09:52:29 INFO mapreduce.Job:  map 0% reduce 0%
  15/05/29 09:52:41 INFO mapreduce.Job:  map 100% reduce 0%
  15/05/29 10:03:01 INFO mapreduce.Job:  map 0% reduce 0%
  15/05/29 10:03:01 INFO mapreduce.Job: Task Id : attempt_1432910768528_0001_m_000000_0, Status : FAILED
  AttemptID:attempt_1432910768528_0001_m_000000_0 Timed out after 600 secs
  Container killed by the ApplicationMaster.
  Container killed on request. Exit code is 143
  Container exited with a non-zero exit code 143
  </code></pre>
  
  <p>My mapper here is triggering the other program which is going to process my input file here. The program which is getting trigger by mapper usually consumes lots of memory.</p>
  
  <p>So please help me in this regard.</p>