<?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: CDH upgrade from 4.7 to CDH 5.2 hive metastore issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-upgrade-from-4-7-to-CDH-5-2-hive-metastore-issue/m-p/20644#M3369</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went to the mysql command line and used schema create/update &amp;nbsp;- &amp;nbsp;able to get the metastore working &amp;amp; also able to get the tables form hive as well as impala.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;database :mysql&amp;nbsp;&lt;/P&gt;&lt;P&gt;datastore database: hive&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mysql&amp;gt; source hive-schema-0.13.0.mysql.sql;&lt;/P&gt;&lt;P&gt;mysql&amp;gt; use hive&lt;BR /&gt;Reading table information for completion of table and column names&lt;BR /&gt;You can turn off this feature to get a quicker startup with -A&lt;/P&gt;&lt;P&gt;Database changed&lt;BR /&gt;mysql&amp;gt; source upgrade-0.10.0-to-0.11.0.mysql.sql&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| Upgrading MetaStore schema from 0.10.0 to 0.11.0 |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| Finished upgrading MetaStore schema from 0.10.0 to 0.11.0 |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;mysql&amp;gt; source upgrade-0.11.0-to-0.12.0.mysql.sql&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| Upgrading MetaStore schema from 0.11.0 to 0.12.0 |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+---------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+---------------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-3255 Master Key and Delegation Token DDL &amp;gt; |&lt;BR /&gt;+---------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-3764 Support metastore version consistency check &amp;gt; |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1062 (23000): Duplicate entry '1' for key 1&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;BR /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| Finished upgrading MetaStore schema from 0.11.0 to 0.12.0 |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;mysql&amp;gt; source upgrade-0.12.0-to-0.13.0.mysql.sql&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| Upgrading MetaStore schema from 0.12.0 to 0.13.0 |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-5700 enforce single date format for partition column storage &amp;gt; |&lt;BR /&gt;+-----------------------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.00 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;+--------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-6386: Add owner filed to database &amp;gt; |&lt;BR /&gt;+--------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1060 (42S21): Duplicate column name 'OWNER_NAME'&lt;BR /&gt;ERROR 1060 (42S21): Duplicate column name 'OWNER_TYPE'&lt;BR /&gt;+---------------------------------------------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+---------------------------------------------------------------------------------------------+&lt;BR /&gt;| &amp;lt;HIVE-6458 Add schema upgrade scripts for metastore changes related to permanent functions&amp;gt; |&lt;BR /&gt;+---------------------------------------------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+----------------------------------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+----------------------------------------------------------------------------------+&lt;BR /&gt;| &amp;lt;HIVE-6757 Remove deprecated parquet classes from outside of org.apache package&amp;gt; |&lt;BR /&gt;+----------------------------------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.01 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.00 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.01 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;ERROR 1050 (42S01): Table 'TXNS' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'TXN_COMPONENTS' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'COMPLETED_TXN_COMPONENTS' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'NEXT_TXN_ID' already exists&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1050 (42S01): Table 'HIVE_LOCKS' already exists&lt;BR /&gt;ERROR 1061 (42000): Duplicate key name 'HL_TXNID_IDX'&lt;BR /&gt;ERROR 1050 (42S01): Table 'NEXT_LOCK_ID' already exists&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1050 (42S01): Table 'COMPACTION_QUEUE' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'NEXT_COMPACTION_QUEUE_ID' already exists&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 1 row affected (0.00 sec)&lt;BR /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| Finished upgrading MetaStore schema from 0.12.0 to 0.13.0 |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;mysql&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2014 01:53:49 GMT</pubDate>
    <dc:creator>Ram</dc:creator>
    <dc:date>2014-10-22T01:53:49Z</dc:date>
    <item>
      <title>CDH upgrade from 4.7 to CDH 5.2 hive metastore issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-upgrade-from-4-7-to-CDH-5-2-hive-metastore-issue/m-p/20626#M3368</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I upgraded the cluster from CDH-4.7 to CDH 5.2. HDFS and Mapreduce looks good but having issue with hive metastore. Following is error I see on metastore log file. I use mysql database. Please let me know how to fix this issue. I have backup of database if needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;org.apache.hadoop.hive.metastore.MetaStoreDirectSql: Database initialization failed; direct SQL is disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'A0.BIG_DECIMAL_HIGH_VALUE' in 'field list'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2014-10-21 17:02:49,588 INFO org.apache.hadoop.hive.metastore.HiveMetaStore: Starting hive metastore on port 9083&lt;BR /&gt;2014-10-21 17:02:49,776 INFO org.apache.hadoop.hive.metastore.HiveMetaStore: 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore&lt;BR /&gt;2014-10-21 17:02:49,816 INFO org.apache.hadoop.hive.metastore.ObjectStore: ObjectStore, initialize called&lt;BR /&gt;2014-10-21 17:02:50,083 INFO DataNucleus.Persistence: Property hive.metastore.integral.jdo.pushdown unknown - will be ignored&lt;BR /&gt;2014-10-21 17:02:50,083 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown - will be ignored&lt;BR /&gt;2014-10-21 17:02:50,895 INFO org.apache.hadoop.hive.metastore.ObjectStore: Setting MetaStore object pin classes with hive.metastore.cache.pinobjtypes="Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order"&lt;BR /&gt;2014-10-21 17:02:52,175 INFO DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.&lt;BR /&gt;2014-10-21 17:02:52,176 INFO DataNucleus.Datastore: The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.&lt;BR /&gt;2014-10-21 17:02:52,290 ERROR org.apache.hadoop.hive.metastore.MetaStoreDirectSql: Database initialization failed; direct SQL is disabled&lt;BR /&gt;javax.jdo.JDOException: Exception thrown when executing query&lt;BR /&gt;at org.datanucleus.api.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:596)&lt;BR /&gt;at org.datanucleus.api.jdo.JDOQuery.execute(JDOQuery.java:230)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.&amp;lt;init&amp;gt;(MetaStoreDirectSql.java:120)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.ObjectStore.initialize(ObjectStore.java:253)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore.java:224)&lt;BR /&gt;at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:73)&lt;BR /&gt;at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.RawStoreProxy.&amp;lt;init&amp;gt;(RawStoreProxy.java:58)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.RawStoreProxy.getProxy(RawStoreProxy.java:67)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newRawStore(HiveMetaStore.java:506)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:484)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:532)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:406)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.&amp;lt;init&amp;gt;(HiveMetaStore.java:365)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.RetryingHMSHandler.&amp;lt;init&amp;gt;(RetryingHMSHandler.java:55)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:60)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore.newHMSHandler(HiveMetaStore.java:4953)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:5173)&lt;BR /&gt;at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:5093)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt;at org.apache.hadoop.util.RunJar.main(RunJar.java:212)&lt;BR /&gt;NestedThrowablesStackTrace:&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'A0.BIG_DECIMAL_HIGH_VALUE' in 'field list'&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:526)&lt;BR /&gt;at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)&lt;BR /&gt;at com.mysql.jdbc.Util.getInstance(Util.java:386)&lt;BR /&gt;at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)&lt;BR /&gt;at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)&lt;BR /&gt;at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)&lt;BR /&gt;at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)&lt;BR /&gt;at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)&lt;BR /&gt;at com.jolbox.bonecp.PreparedStatementHandle.executeQuery(PreparedStatementHandle.java:174)&lt;BR /&gt;at org.datanucleus.store.rdbms.ParamLoggingPreparedStatement.executeQuery(ParamLoggingPreparedStatement.java:381)&lt;BR /&gt;at org.datanucleus.store.rdbms.SQLController.executeStatementQuery(SQLController.java:504)&lt;BR /&gt;at org.datanucleus.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:651)&lt;BR /&gt;at org.datanucleus.store.query.Query.executeQuery(Query.java:1786)&lt;BR /&gt;"hadoop-cmf-hive1-HIVEMETASTORE-chadvt3endc02.ops.tiaa-cref.org.log.out" 1514L, 139878C&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:10:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-upgrade-from-4-7-to-CDH-5-2-hive-metastore-issue/m-p/20626#M3368</guid>
      <dc:creator>Ram</dc:creator>
      <dc:date>2022-09-16T09:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: CDH upgrade from 4.7 to CDH 5.2 hive metastore issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-upgrade-from-4-7-to-CDH-5-2-hive-metastore-issue/m-p/20644#M3369</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went to the mysql command line and used schema create/update &amp;nbsp;- &amp;nbsp;able to get the metastore working &amp;amp; also able to get the tables form hive as well as impala.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;database :mysql&amp;nbsp;&lt;/P&gt;&lt;P&gt;datastore database: hive&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mysql&amp;gt; source hive-schema-0.13.0.mysql.sql;&lt;/P&gt;&lt;P&gt;mysql&amp;gt; use hive&lt;BR /&gt;Reading table information for completion of table and column names&lt;BR /&gt;You can turn off this feature to get a quicker startup with -A&lt;/P&gt;&lt;P&gt;Database changed&lt;BR /&gt;mysql&amp;gt; source upgrade-0.10.0-to-0.11.0.mysql.sql&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| Upgrading MetaStore schema from 0.10.0 to 0.11.0 |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| Finished upgrading MetaStore schema from 0.10.0 to 0.11.0 |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;mysql&amp;gt; source upgrade-0.11.0-to-0.12.0.mysql.sql&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| Upgrading MetaStore schema from 0.11.0 to 0.12.0 |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+---------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+---------------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-3255 Master Key and Delegation Token DDL &amp;gt; |&lt;BR /&gt;+---------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-3764 Support metastore version consistency check &amp;gt; |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1062 (23000): Duplicate entry '1' for key 1&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;BR /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| Finished upgrading MetaStore schema from 0.11.0 to 0.12.0 |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;mysql&amp;gt; source upgrade-0.12.0-to-0.13.0.mysql.sql&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;| Upgrading MetaStore schema from 0.12.0 to 0.13.0 |&lt;BR /&gt;+--------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-5700 enforce single date format for partition column storage &amp;gt; |&lt;BR /&gt;+-----------------------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.00 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;+--------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+--------------------------------------------+&lt;BR /&gt;| &amp;lt; HIVE-6386: Add owner filed to database &amp;gt; |&lt;BR /&gt;+--------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1060 (42S21): Duplicate column name 'OWNER_NAME'&lt;BR /&gt;ERROR 1060 (42S21): Duplicate column name 'OWNER_TYPE'&lt;BR /&gt;+---------------------------------------------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+---------------------------------------------------------------------------------------------+&lt;BR /&gt;| &amp;lt;HIVE-6458 Add schema upgrade scripts for metastore changes related to permanent functions&amp;gt; |&lt;BR /&gt;+---------------------------------------------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;+----------------------------------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+----------------------------------------------------------------------------------+&lt;BR /&gt;| &amp;lt;HIVE-6757 Remove deprecated parquet classes from outside of org.apache package&amp;gt; |&lt;BR /&gt;+----------------------------------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.01 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.00 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;Query OK, 0 rows affected (0.01 sec)&lt;BR /&gt;Rows matched: 0 Changed: 0 Warnings: 0&lt;/P&gt;&lt;P&gt;ERROR 1050 (42S01): Table 'TXNS' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'TXN_COMPONENTS' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'COMPLETED_TXN_COMPONENTS' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'NEXT_TXN_ID' already exists&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1050 (42S01): Table 'HIVE_LOCKS' already exists&lt;BR /&gt;ERROR 1061 (42000): Duplicate key name 'HL_TXNID_IDX'&lt;BR /&gt;ERROR 1050 (42S01): Table 'NEXT_LOCK_ID' already exists&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;/P&gt;&lt;P&gt;ERROR 1050 (42S01): Table 'COMPACTION_QUEUE' already exists&lt;BR /&gt;ERROR 1050 (42S01): Table 'NEXT_COMPACTION_QUEUE_ID' already exists&lt;BR /&gt;Query OK, 1 row affected (0.00 sec)&lt;/P&gt;&lt;P&gt;Query OK, 1 row affected (0.00 sec)&lt;BR /&gt;Rows matched: 1 Changed: 1 Warnings: 0&lt;/P&gt;&lt;P&gt;+-----------------------------------------------------------+&lt;BR /&gt;| |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;| Finished upgrading MetaStore schema from 0.12.0 to 0.13.0 |&lt;BR /&gt;+-----------------------------------------------------------+&lt;BR /&gt;1 row in set, 1 warning (0.00 sec)&lt;/P&gt;&lt;P&gt;mysql&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2014 01:53:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-upgrade-from-4-7-to-CDH-5-2-hive-metastore-issue/m-p/20644#M3369</guid>
      <dc:creator>Ram</dc:creator>
      <dc:date>2014-10-22T01:53:49Z</dc:date>
    </item>
  </channel>
</rss>

