title: Container killed by the ApplicationMaster Exit code is 143
body: <p>I've been getting the following error in several cases:</p>
  
  <pre><code>2017-03-23 11:55:10,794 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl: Diagnostics report from attempt_1490079327128_0048_r_000003_0: 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>I noticed it happens one large sorts but when i change the "Sort Allocation Memory" it does not help.</p>
  
  <p>I tried changing other memory properties but yet, the solution eludes me.
  Is there a good explanation to how Mapreduce works and what's the interaction between the different components?
  What should I change? where do I locate the Java error leading to this?</p>