<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: YARN Exception from Container Launch in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/3825#M635</link>
    <description>&lt;P&gt;Hi Sandy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I enabled yarn log aggregation and was able to access the log entry for the failed job. The first error I noticed in the log is the follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2013-12-06 15:04:00,007 INFO [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator: Received completed container container_1385402645979_0033_01_000080
2013-12-06 15:04:00,007 ERROR [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator: Container complete event for unknown container id container_1385402645979_0033_01_000080
2013-12-06 15:04:00,007 INFO [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator: Recalculating schedule, headroom=0&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could this be a issue related to host configurations?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other clue I may have found is in the exit code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2013-12-06 15:04:01,015 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl: Diagnostics report from attempt_1385402645979_0033_m_000035_0: Container killed by the ApplicationMaster.
Container killed on request. Exit code is 143&lt;/PRE&gt;&lt;P&gt;The following link attributes this exit code to a memory allocation issue: &lt;A target="_self" href="https://github.com/ThinkinGim/atopos/issues/28"&gt;https://github.com/ThinkinGim/atopos/issues/28&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going over the resource allocation configuration of my cluster now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2013 18:35:00 GMT</pubDate>
    <dc:creator>sjarvie</dc:creator>
    <dc:date>2013-12-09T18:35:00Z</dc:date>
    <item>
      <title>YARN Exception from Container Launch</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/3749#M633</link>
      <description>&lt;P&gt;I am experiencing the following issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; line-height: 14px;"&gt;&lt;A target="_self" href="http://hortonworks.com/community/forums/topic/unable-to-run-distributed-shell-on-yarn/"&gt;http://hortonworks.com/community/forums/topic/unable-to-run-distributed-shell-on-yarn/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_self" href="http://hortonworks.com/blog/apache-hadoop-yarn-nodemanager/"&gt;&lt;SPAN style="color: #666666; line-height: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2013-09-17 11:45:28,338 INFO [main] distributedshell.Client (Client.java:monitorApplication(600)) - Got application report from ASM for, appId=11, clientToAMToken=null, appDiagnostics=Application application_1379338026167_0011 failed 2 times due to AM Container for appattempt_1379338026167_0011_000002 exited with exitCode: 1 due to: Exception from container-launch:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code which I am running which produces this error involves using Java map reduce to bulk load to HBase.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the recommend addition of environment variables to my local user, but am still facing issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else experience this?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:50:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/3749#M633</guid>
      <dc:creator>sjarvie</dc:creator>
      <dc:date>2022-09-16T08:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception from Container Launch</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/3797#M634</link>
      <description>&lt;P&gt;Hi sjarvie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The next step with an error like this is to look at the logs for the container that's failing. &amp;nbsp;If you're running a MapReduce job (i.e. not distributed shell), you should be able to find these in the JobHistoryServer. &amp;nbsp;It will display a list of jobs and you can go into a job and navigate to the application master logs. &amp;nbsp;If you experience errors when trying to access these logs, make sure that yarn.log-aggregation-enable is set to true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Sandy&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2013 22:32:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/3797#M634</guid>
      <dc:creator>sandy</dc:creator>
      <dc:date>2013-12-06T22:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception from Container Launch</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/3825#M635</link>
      <description>&lt;P&gt;Hi Sandy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I enabled yarn log aggregation and was able to access the log entry for the failed job. The first error I noticed in the log is the follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2013-12-06 15:04:00,007 INFO [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator: Received completed container container_1385402645979_0033_01_000080
2013-12-06 15:04:00,007 ERROR [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator: Container complete event for unknown container id container_1385402645979_0033_01_000080
2013-12-06 15:04:00,007 INFO [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator: Recalculating schedule, headroom=0&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could this be a issue related to host configurations?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other clue I may have found is in the exit code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;2013-12-06 15:04:01,015 INFO [AsyncDispatcher event handler] org.apache.hadoop.mapreduce.v2.app.job.impl.TaskAttemptImpl: Diagnostics report from attempt_1385402645979_0033_m_000035_0: Container killed by the ApplicationMaster.
Container killed on request. Exit code is 143&lt;/PRE&gt;&lt;P&gt;The following link attributes this exit code to a memory allocation issue: &lt;A target="_self" href="https://github.com/ThinkinGim/atopos/issues/28"&gt;https://github.com/ThinkinGim/atopos/issues/28&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going over the resource allocation configuration of my cluster now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 18:35:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/3825#M635</guid>
      <dc:creator>sjarvie</dc:creator>
      <dc:date>2013-12-09T18:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: YARN Exception from Container Launch</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/4215#M636</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your support. The issue ended up being an environment issue. I needed to pass to my application the location of the Hbase configuration, via the following snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Configuration conf = new Configuration();
conf.addResource(new Path("/etc/hbase/conf/hbase-site.xml"));&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This allowed the program to determine the correct settings for connecting to HBase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2013 19:37:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-Exception-from-Container-Launch/m-p/4215#M636</guid>
      <dc:creator>sjarvie</dc:creator>
      <dc:date>2013-12-23T19:37:49Z</dc:date>
    </item>
  </channel>
</rss>

