hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject svn commit: r1655894 - /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
Date Fri, 30 Jan 2015 00:32:54 GMT
Author: thejas
Date: Fri Jan 30 00:32:53 2015
New Revision: 1655894

URL: http://svn.apache.org/r1655894
Log:
HIVE-9514 : schematool is broken in hive 1.0.0 (Thejas Nair, reviewed by Vikram Dixit)

Modified:
    hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java

Modified: hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
URL: http://svn.apache.org/viewvc/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java?rev=1655894&r1=1655893&r2=1655894&view=diff
==============================================================================
--- hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
(original)
+++ hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
Fri Jan 30 00:32:53 2015
@@ -43,10 +43,12 @@ public class MetaStoreSchemaInfo {
   private final HiveConf hiveConf;
   private final String hiveHome;
 
-  // Minor version upgrades often don't change schema. So they are equivalent to a version
+  // Some version upgrades often don't change schema. So they are equivalent to
+  // a version
   // that has a corresponding schema. eg "0.13.1" is equivalent to "0.13.0"
   private static final Map<String, String> EQUIVALENT_VERSIONS =
-      ImmutableMap.of("0.13.1", "0.13.0");
+      ImmutableMap.of("0.13.1", "0.13.0",
+          "1.0.0", "0.14.0");
 
   public MetaStoreSchemaInfo(String hiveHome, HiveConf hiveConf, String dbType) throws HiveMetaException
{
     this.hiveHome = hiveHome;



Mime
View raw message