commit 81d2c5fb259133ff7852ecb51d4e35face3f48fa Author: Thejas Nair Date: Thu Jan 29 14:09:07 2015 -0800 set equivalent metastore schema version of 1.0.0 diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java index 50d03a8..a21b6d1 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java @@ -43,10 +43,12 @@ 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 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;