<?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: Upgrade to HDP 3.0 hangs on ”Move Hive Table” in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211838#M81781</link>
    <description>&lt;P&gt;Are you using MySQL or MariaDB as db for hive? Can you see any error in /var/log/hive/hivemetastore.log?&lt;BR /&gt;If you see something like this in the metastore log;&lt;/P&gt;&lt;PRE&gt;java.lang.NullPointerException
org.apache.hadoop.hive.metastore.HiveMetaException: Upgrade FAILED! Metastore state would be inconsistent&lt;/PRE&gt;&lt;P&gt;try to source the following manually from sql cli (the metastore log should indicate the from/to versions) and restart the metastore server&lt;/P&gt;&lt;PRE&gt;source /usr/hdp/3.0.0.0-1634/hive/scripts/metastore/upgrade/upgrade-&amp;lt;version you're upgrading from&amp;gt;-to-&amp;lt;version you're upgrading to&amp;gt;.mysql.sql&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Aug 2018 16:19:26 GMT</pubDate>
    <dc:creator>JonathanSneep</dc:creator>
    <dc:date>2018-08-08T16:19:26Z</dc:date>
    <item>
      <title>Upgrade to HDP 3.0 hangs on ”Move Hive Table”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211836#M81779</link>
      <description>&lt;P&gt;I’m trying
to migrate to HDP 3.0, but the upgrade hangs on “Move Hive Table”. When I look
at the log, the actual move command just exit without any error messages and
with exit code 255. This happens even when I try to run the command manually.
So it’s kind of hard to understand what the real problem is as I get no output
at all from the command.  Only time I get
something in return is when I add the -h and I get the help output.&lt;/P&gt;&lt;P&gt;/usr/hdp/3.0.0.0-1634/hive/bin/hive
--config /etc/hive/conf --service 
strictmanagedmigration --hiveconf hive.strict.managed.tables=true  -m automatic --modifyManagedTables
--oldWarehouseRoot /apps/hive/warehouse&lt;/P&gt;&lt;P&gt;Can anybody
help me to better understand why it’s exiting with code 255 and if possible how
to solve it.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:34:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211836#M81779</guid>
      <dc:creator>berry_osterlund</dc:creator>
      <dc:date>2022-09-16T13:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to HDP 3.0 hangs on ”Move Hive Table”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211837#M81780</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/13196/berryosterlund.html" nodeid="13196"&gt;@Berry Österlund&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;I think you will get a good idea about the issue from the error logs itself.&lt;/P&gt;&lt;P&gt;exit code 255 is just to inform the task which ambari is performing as part of upgrade is failed.&lt;/P&gt;&lt;P&gt;Seeing the command it seems you have have upgraded to /usr/hdp/3.0.0.0-1634 .&lt;/P&gt;&lt;P&gt;Can you try to mannually run the command on the node which demands to run and see if you get some clue from it ?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:12:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211837#M81780</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-08-08T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to HDP 3.0 hangs on ”Move Hive Table”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211838#M81781</link>
      <description>&lt;P&gt;Are you using MySQL or MariaDB as db for hive? Can you see any error in /var/log/hive/hivemetastore.log?&lt;BR /&gt;If you see something like this in the metastore log;&lt;/P&gt;&lt;PRE&gt;java.lang.NullPointerException
org.apache.hadoop.hive.metastore.HiveMetaException: Upgrade FAILED! Metastore state would be inconsistent&lt;/PRE&gt;&lt;P&gt;try to source the following manually from sql cli (the metastore log should indicate the from/to versions) and restart the metastore server&lt;/P&gt;&lt;PRE&gt;source /usr/hdp/3.0.0.0-1634/hive/scripts/metastore/upgrade/upgrade-&amp;lt;version you're upgrading from&amp;gt;-to-&amp;lt;version you're upgrading to&amp;gt;.mysql.sql&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Aug 2018 16:19:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211838#M81781</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-08-08T16:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to HDP 3.0 hangs on ”Move Hive Table”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211839#M81782</link>
      <description>&lt;P&gt;I'm using MySQL for the metastore. No errors in the log&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 17:05:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211839#M81782</guid>
      <dc:creator>berry_osterlund</dc:creator>
      <dc:date>2018-08-08T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to HDP 3.0 hangs on ”Move Hive Table”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211840#M81783</link>
      <description>&lt;P&gt;Update: It looks
like it's related to one or more tables. I have around 50 databases in Hive. I
selected each and every one of them with the -d flag (regexp of databasename)
and I only get the 255 exit code on 4 of the databases. All the others are
working fine. &lt;/P&gt;&lt;P&gt;I will now try
to pinpoint exactly what tables in those databases are causing the error and see
if I can find anything strange with them. &lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 18:14:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211840#M81783</guid>
      <dc:creator>berry_osterlund</dc:creator>
      <dc:date>2018-08-08T18:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to HDP 3.0 hangs on ”Move Hive Table”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211841#M81784</link>
      <description>&lt;P&gt;Problem
solved&lt;/P&gt;&lt;P&gt;If you have
created a hbase or phoenix table through hive as an “internal”  table, it will be created as a managed table
with the storage handler towards hbase/phoenix. This is what’s causing the
problem. Managed tables with the hbase/phoenix storagehandler won’t work in the
“Move Hive Tables” part of the upgrade (external tables works ofc). I had to
manually remove those tables from the Hive metadatabase and then the “Move Hive
Tables” part of the upgrade works fine.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 20:31:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211841#M81784</guid>
      <dc:creator>berry_osterlund</dc:creator>
      <dc:date>2018-08-08T20:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade to HDP 3.0 hangs on ”Move Hive Table”</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211842#M81785</link>
      <description>&lt;P&gt;@Berry Osterlund :  was this issue resolved ? Do you have a solution if it's resolved. Even I am getting the error code 255 , however there is no errors thrown&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 23:59:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Upgrade-to-HDP-3-0-hangs-on-Move-Hive-Table/m-p/211842#M81785</guid>
      <dc:creator>vinodrao1988</dc:creator>
      <dc:date>2018-12-24T23:59:43Z</dc:date>
    </item>
  </channel>
</rss>

