You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by th...@apache.org on 2015/01/30 01:32:54 UTC
svn commit: r1655894 -
/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
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;