<?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: What does state transition RUNNING --&amp;gt; ACCEPTED mean in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30156#M6798</link>
    <description>Thanks, that'd explain your transition. What application is this? Is it an&lt;BR /&gt;MR2 application, Spark app, or something custom?&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Jul 2015 11:12:05 GMT</pubDate>
    <dc:creator>Harsh J</dc:creator>
    <dc:date>2015-07-28T11:12:05Z</dc:date>
    <item>
      <title>What does state transition RUNNING --&gt; ACCEPTED mean?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30140#M6795</link>
      <description>&lt;P&gt;I notice in RM logs that sometime my application transitions back from RUNNING to ACCEPTED state. Under what conditions would this happen? I thought this usually happens whenever RM or AM dies and recovers the applications. Such apps would transition from RUNNING --&amp;gt; ACCEPTED. Is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in my case both RM and NM recovery is disabled:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yarn.resourcemanager.recovery.enabled = false&lt;/P&gt;&lt;P&gt;yarn.nodemanager.recovery.enabled = false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:36:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30140#M6795</guid>
      <dc:creator>sumit.nigam</dc:creator>
      <dc:date>2022-09-16T09:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: What does state transition RUNNING --&gt; ACCEPTED mean</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30143#M6796</link>
      <description>Recovery features deal with restarts of the service (RM or NM). An AM&lt;BR /&gt;attempt is a separate feature that, like container retries in MR, is a&lt;BR /&gt;regular runtime feature.&lt;BR /&gt;&lt;BR /&gt;Do you see your application ID attempt multiple AMs in the RM UI page for&lt;BR /&gt;it? Do the RM logs indicate any form of kill or fail for the first&lt;BR /&gt;'appattempt' of the AM ID?</description>
      <pubDate>Tue, 28 Jul 2015 08:02:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30143#M6796</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-28T08:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: What does state transition RUNNING --&gt; ACCEPTED mean</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30155#M6797</link>
      <description>&lt;P&gt;Hi Harsh - You are right, there is a prior attempt which got killed. Here are some log snippets as you asked:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Attempt 1 - app becomes RUNNING&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2015-07-24 14:20:40,980 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: appattempt_1437726395811_0010_000001 State change from LAUNCHED to RUNNING&lt;BR /&gt;2015-07-24 14:20:40,981 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: application_1437726395811_0010 State change from ACCEPTED to RUNNING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Some hrs&amp;nbsp;later the tokens are renewed (900000ms)&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;2015-07-25 13:56:35,841 INFO org.apache.hadoop.yarn.server.resourcemanager.security.RMContainerTokenSecretManager: Rolling master-key for container-tokens&lt;BR /&gt;2015-07-25 13:56:35,841 INFO org.apache.hadoop.yarn.server.resourcemanager.security.RMContainerTokenSecretManager: Going to activate master-key with key-id 1834122077 in 900000ms&lt;BR /&gt;2015-07-25 13:56:35,841 INFO org.apache.hadoop.yarn.server.resourcemanager.security.NMTokenSecretManagerInRM: Rolling master-key for nm-tokens&lt;/P&gt;&lt;P&gt;2015-07-25 13:56:35,842 INFO org.apache.hadoop.yarn.server.resourcemanager.security.NMTokenSecretManagerInRM: Going to activate master-key with key-id 516071750 in &lt;STRONG&gt;900000ms&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;The following 2 log lines keep repeating for the next 900000ms filling up logs:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2015-07-25 13:56:35,920 INFO org.apache.hadoop.yarn.server.resourcemanager.security.AMRMTokenSecretManager: Create AMRMToken for ApplicationAttempt: appattempt_1437726395811_0010_000001&lt;BR /&gt;2015-07-25 &lt;STRONG&gt;13:56:35&lt;/STRONG&gt;,920 INFO org.apache.hadoop.yarn.server.resourcemanager.security.AMRMTokenSecretManager: Creating password for appattempt_1437726395811_0010_000001&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;2015-07-25 14:11:35,772 INFO org.apache.hadoop.yarn.server.resourcemanager.security.AMRMTokenSecretManager: Create AMRMToken for ApplicationAttempt: appattempt_1437726395811_0010_00 0001&lt;BR /&gt;2015-07-25 &lt;STRONG&gt;14:11:35&lt;/STRONG&gt;,772 INFO org.apache.hadoop.yarn.server.resourcemanager.security.AMRMTokenSecretManager: Creating password for appattempt_1437726395811_0010_000001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;This fails (not sure why) and leads to app termination&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;2015-07-25 14:11:35,877 INFO org.apache.hadoop.ipc.Server: Socket Reader #1 for port 8030: readAndProcess from client 10.65.144.85 threw exception [org.apache.hadoop.security.token.SecretManager$InvalidToken: Invalid AMRMToken from appattempt_1437726395811_0010_000001]&lt;BR /&gt;2015-07-25 14:11:36,888 INFO org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerImpl: container_1437726395811_0010_01_000001 Container Transitioned from RUNNING to COMPLETED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;1st attempt done (RUNNING --&amp;gt; ACCEPTED)&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;2015-07-25 14:11:36,888 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: appattempt_1437726395811_0010_000001 State change from RUNNING to FINAL_SAVING&lt;BR /&gt;2015-07-25 14:11:36,889 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: appattempt_1437726395811_0010_000001 State change from FINAL_SAVING to FAILED&lt;/P&gt;&lt;P&gt;2015-07-25 14:11:36,890 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl: application_1437726395811_0010 State change from &lt;STRONG&gt;RUNNING to ACCEPTED&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;2nd attempt starts&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;&lt;BR /&gt;2015-07-25 14:11:36,890 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler: Added Application Attempt appattempt_1437726395811_0010_000002 to scheduler from user: root&lt;/P&gt;&lt;P&gt;2015-07-25 14:11:36,891 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: appattempt_1437726395811_0010_000002 State change from SUBMITTED to SCHEDULED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Not sure what this Null container indicates:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;2015-07-25 14:11:36,910 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler: &lt;STRONG&gt;Null container completed...&lt;/STRONG&gt;&lt;U&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 10:55:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30155#M6797</guid>
      <dc:creator>sumit.nigam</dc:creator>
      <dc:date>2015-07-28T10:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: What does state transition RUNNING --&gt; ACCEPTED mean</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30156#M6798</link>
      <description>Thanks, that'd explain your transition. What application is this? Is it an&lt;BR /&gt;MR2 application, Spark app, or something custom?&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2015 11:12:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30156#M6798</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-07-28T11:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: What does state transition RUNNING --&gt; ACCEPTED mean</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30172#M6799</link>
      <description>&lt;P&gt;Hbase on Yarn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a side note:&lt;/P&gt;&lt;P&gt;1. Is there a reason for security token to just fail like that after 15 mins of trying? Or I have some setup problem? That seems to be the first reason for attempt one to be killed.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;The last line about null container - I see it often. Is that a bug? And&amp;nbsp;can that be ignored?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 13:08:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30172#M6799</guid>
      <dc:creator>sumit.nigam</dc:creator>
      <dc:date>2015-07-28T13:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: What does state transition RUNNING --&gt; ACCEPTED mean</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30205#M6800</link>
      <description>&lt;P&gt;On point 1, I think I am getting hit by&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/YARN-3103" target="_self"&gt;&amp;nbsp;https://issues.apache.org/jira/browse/YARN-3103&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 05:32:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30205#M6800</guid>
      <dc:creator>sumit.nigam</dc:creator>
      <dc:date>2015-07-29T05:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: What does state transition RUNNING --&gt; ACCEPTED mean</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30249#M6801</link>
      <description>&lt;P&gt;The null container log entry that was shown in the earlier message is a code issue which has been fixed in an upcoming release. We printed the worng reference for the container and it would always be a null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the state changes:they are correct after we fail the application and we have not exhausted the AM retries it will be pushed back into the queue for scheduling which means the app goes into an&amp;nbsp;ACCEPTED state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For YARN-3103 you will not see that issue if you are running CDH 5.4 it is part of that release, if you run an earlier version please upgrade.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wilfred&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 02:49:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/30249#M6801</guid>
      <dc:creator>Wilfred</dc:creator>
      <dc:date>2015-07-30T02:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: What does state transition RUNNING --&gt; ACCEPTED mean?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/86737#M6802</link>
      <description>&lt;P&gt;When the&amp;nbsp; first attempt fails, it tries to run again the app. So the status changes from "running" to "accepted". If you check the RM webUI you could see several attempts were run.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 14:26:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-does-state-transition-RUNNING-gt-ACCEPTED-mean/m-p/86737#M6802</guid>
      <dc:creator>evinhas</dc:creator>
      <dc:date>2019-02-20T14:26:10Z</dc:date>
    </item>
  </channel>
</rss>

