<?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 HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161667#M33282</link>
    <description>&lt;P&gt;So I've upgraded Ambari to the bleeding edge 2.2.2.0 today and I was about to rollout HDP 2.4.2.0-258 and I am stumped at the pre-check script after all the HDP-2.4.2.0 packages have been sucessfully installed across the board.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Upgrade to HDP-2.4.2.0 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirements&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;You must meet these requirements before you can proceed.&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt; A previous upgrade did not complete.
Reason: Upgrade attempt (id: 1, request id: 2,681, from version: 2.2.6.0-2800, to version: 2.4.0.0-169) did not complete task with id 17,829 since its state is FAILED instead of COMPLETED. Please ensure that you called:
ambari-server set-current --cluster-name=$CLUSTERNAME --version-display-name=$VERSION_NAME
Further, change the status of host_role_command with id 1 to COMPLETED &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Failed on: HugeData&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;I ran the command as instructed: &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;ambari-server set-current --cluster-name=&lt;/STRONG&gt;HugeData&lt;STRONG&gt; --version-display-name=&lt;/STRONG&gt;HDP-2.4.2.0&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;To no avail... I am stumped at this point in time and not sure where to look to change that manually in the backend? As far as I am concerned we had been running 2.4.0.0-169 without any issues (except for the NN failover) for about a month... &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;According to the error above we missed something in the 2.2.x to 2.4.x upgrade...... I'm sure there's a value I can edit to set as successful but I am not sure right now.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Your input would be much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2016 02:26:29 GMT</pubDate>
    <dc:creator>Eric_Periard</dc:creator>
    <dc:date>2016-06-29T02:26:29Z</dc:date>
    <item>
      <title>HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161667#M33282</link>
      <description>&lt;P&gt;So I've upgraded Ambari to the bleeding edge 2.2.2.0 today and I was about to rollout HDP 2.4.2.0-258 and I am stumped at the pre-check script after all the HDP-2.4.2.0 packages have been sucessfully installed across the board.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Upgrade to HDP-2.4.2.0 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Requirements&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;You must meet these requirements before you can proceed.&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt; A previous upgrade did not complete.
Reason: Upgrade attempt (id: 1, request id: 2,681, from version: 2.2.6.0-2800, to version: 2.4.0.0-169) did not complete task with id 17,829 since its state is FAILED instead of COMPLETED. Please ensure that you called:
ambari-server set-current --cluster-name=$CLUSTERNAME --version-display-name=$VERSION_NAME
Further, change the status of host_role_command with id 1 to COMPLETED &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Failed on: HugeData&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;I ran the command as instructed: &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;STRONG&gt;ambari-server set-current --cluster-name=&lt;/STRONG&gt;HugeData&lt;STRONG&gt; --version-display-name=&lt;/STRONG&gt;HDP-2.4.2.0&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;To no avail... I am stumped at this point in time and not sure where to look to change that manually in the backend? As far as I am concerned we had been running 2.4.0.0-169 without any issues (except for the NN failover) for about a month... &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;According to the error above we missed something in the 2.2.x to 2.4.x upgrade...... I'm sure there's a value I can edit to set as successful but I am not sure right now.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Your input would be much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 02:26:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161667#M33282</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-06-29T02:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161668#M33283</link>
      <description>&lt;P&gt;Did you finalize the upgrade from 2.2.6.0-2800 to 2.4.0.0-169?  You can look at directory on your namenode where your fsimage file and the edits are stored and see if you are keeping info for current and the old version.&lt;/P&gt;&lt;P&gt;The command to finalize the upgrade is: hdfs dfsadmin -finalizeUpgrade&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 02:45:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161668#M33283</guid>
      <dc:creator>TerryP</dc:creator>
      <dc:date>2016-06-29T02:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161669#M33284</link>
      <description>&lt;P&gt;Finalize upgrade successful for nn.HugeData.lab/x.x.x.40:8020&lt;/P&gt;&lt;P&gt;Finalize upgrade successful for snn.HugeData.lab/x.x.x.41:8020&lt;/P&gt;&lt;P&gt;I then re-run the check and it still fails ://&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 02:47:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161669#M33284</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-06-29T02:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161670#M33285</link>
      <description>&lt;P&gt;then if I run the ambari-server set-current.... command I get the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt; Exiting with exit code 1.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REASON:&lt;/STRONG&gt; Error during setting current version. Http status code - 500.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"status" : 500,&lt;/P&gt;&lt;P&gt;"message" : "org.apache.ambari.server.controller.spi.SystemException: Finalization failed. More details: \nSTDOUT: Begin finalizing the upgrade of cluster Timbit to version 2.4.2.0-258\n\nSTDERR: The following 516 host component(s) have not been upgraded to version 2.4.2.0-258. Please install and upgrade the Stack Version on those hosts and try again.\nHost components:\nPIG on host dn7.HugeData.lab\nPIG on host dn3.HugeData.lab\nPIG on host dn26.HugeData.lab\nPIG on host dn9.HugeData.lab\nPIG on host dn22.HugeData.lab\nPIG on host dn27.HugeData.lab\nPIG on host dn8.HugeData.lab\nPIG on host dn6.HugeData.lab\nPIG on host dn5.HugeData.lab\nPIG on host dn19.HugeData.lab\nPIG on host snn.HugeData.lab\nPIG on host dn18.HugeData.lab\nPIG on host dn21.HugeData.lab\nPIG on host dn17.HugeData.lab\nPIG on host dn23.HugeData.lab\nPIG on host dn25.HugeData.lab\nPIG on host dn1.HugeData.lab\nPIG on host dn15.HugeData.lab\nPIG on host dn14.HugeData.lab\nPIG on host esn2.HugeData.lab\nPIG on host esn.HugeData.lab\nPIG on host dn16.HugeData.lab\nPIG on host dn10.HugeData.lab\nPIG on host dn2.HugeData.lab\nPIG on host dn4.HugeData.lab\nPIG on host dn12.HugeData.lab\nPIG on host nn.HugeData.lab\nPIG on host dn11.HugeData.lab\nPIG on host dn28.HugeData.lab\nPIG on host dn20.HugeData.lab\nSPARK_JOBHISTORYSERVER on host esn2.HugeData.lab\nSPARK_CLIENT on host dn7.HugeData.lab\nSPARK_CLIENT on host dn3.HugeData.lab\nSPARK_CLIENT on host dn26.HugeData.lab\nSPARK_CLIENT on host dn9.HugeData.lab\nSPARK_CLIENT on host dn22.HugeData.lab\nSPARK_CLIENT on host &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 03:12:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161670#M33285</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-06-29T03:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161671#M33286</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10999/ericperiard.html" nodeid="10999"&gt;@Eric Periard&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please use this article and see if the previous upgrade went good using, &lt;A href="https://community.hortonworks.com/content/kbentry/20759/what-to-check-when-upgrade-downgrade-seems-to-be-s.html"&gt;Using Ambari to check when upgrade / downgrade seem to be stuck&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If everything looks good for the hosts / versions [ie there shouldn't be any in INSTALL_FAILED state], then the finalization could help - else those need to be fixed first.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 12:39:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161671#M33286</guid>
      <dc:creator>vpoornalingam</dc:creator>
      <dc:date>2016-06-29T12:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161672#M33287</link>
      <description>&lt;P&gt;Unfortunately I ran all the queries in the post and I dont see any abnormalities...&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 01:55:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161672#M33287</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-06-30T01:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161673#M33288</link>
      <description>&lt;P&gt;"&lt;STRONG&gt;Further, change the status of host_role_command with id 1 to COMPLETED&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;How can this be done manually?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 02:20:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161673#M33288</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-06-30T02:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161674#M33289</link>
      <description>&lt;P&gt;So in the end knowing my config was fine I added &lt;STRONG&gt;stack.upgrade.bypass.prechecks=true&lt;/STRONG&gt;&lt;STRONG&gt; &lt;/STRONG&gt;to &lt;STRONG&gt;/etc/ambari-server/conf/ambari.properties&lt;/STRONG&gt;&lt;B&gt; &lt;/B&gt;and chose to disregard the warning. The upgrade went fine and all test are green. Essentially we went fro hdp 2.1 back then to the bleeding edge and some steps had to be done manually. So somehow after a few tries we succeeded but most likely left some artifacts behind....&lt;/P&gt;&lt;P&gt;I'm still interested to find out where this entry is located and where I could clean it up.&lt;/P&gt;&lt;P&gt;thankfully we're getting professional services soon and building a brand new pro-level cluster with the help of some hortonworks engineers so there wont be any weird or unknown configuration choices.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 04:32:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161674#M33289</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-06-30T04:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161675#M33290</link>
      <description>&lt;P&gt;In the ambari DB you would do:&lt;/P&gt;&lt;P&gt;update host_role_command set status = 'COMPLETED' where request_id = 1;&lt;/P&gt;&lt;P&gt;Also, instead of the other options you took, you could have set 17,829 to completed with almost the same command:&lt;/P&gt;&lt;P&gt;update host_role_command set status = 'COMPLETED' where task_id = 17829;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 01:02:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161675#M33290</guid>
      <dc:creator>orlandoteixeira</dc:creator>
      <dc:date>2016-07-21T01:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161676#M33291</link>
      <description>&lt;P&gt;Interesting, I'm no DB guru still learning my way around PostGre, will check it out as I'm sure the value is there and will nag me far into the future.&lt;/P&gt;&lt;P&gt;What would be the exact query to do that really?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 19:50:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161676#M33291</guid>
      <dc:creator>Eric_Periard</dc:creator>
      <dc:date>2016-07-26T19:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Upgrade 2.4.0.0 to 2.4.2.0 Failing a pre-check</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161677#M33292</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10999/ericperiard.html" nodeid="10999"&gt;@Eric Periard&lt;/A&gt; have you managed to find any solution for this? &lt;BR /&gt;I'm stuck in the same error for over a week.&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance. Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2017 21:18:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Upgrade-2-4-0-0-to-2-4-2-0-Failing-a-pre-check/m-p/161677#M33292</guid>
      <dc:creator>hsfelix</dc:creator>
      <dc:date>2017-08-25T21:18:56Z</dc:date>
    </item>
  </channel>
</rss>

