hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject hive git commit: update MetaStoreSchemaInfo for 1.2.1
Date Thu, 18 Jun 2015 19:57:52 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1 9272dd641 -> 5a4fcc4f9


update MetaStoreSchemaInfo for 1.2.1


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/5a4fcc4f
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/5a4fcc4f
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/5a4fcc4f

Branch: refs/heads/branch-1
Commit: 5a4fcc4f9917cd148edf3e51c586b51ffb92f9f1
Parents: 9272dd6
Author: Thejas Nair <thejas@hortonworks.com>
Authored: Thu Jun 18 12:57:19 2015 -0700
Committer: Thejas Nair <thejas@hortonworks.com>
Committed: Thu Jun 18 12:57:47 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/5a4fcc4f/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
----------------------------------------------------------------------
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 c4062e9..a5eed6d 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
@@ -48,7 +48,11 @@ public class MetaStoreSchemaInfo {
   // 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",
-          "1.0.0", "0.14.0", "1.0.1", "1.0.0", "1.1.1", "1.1.0");
+          "1.0.0", "0.14.0",
+          "1.0.1", "1.0.0",
+          "1.1.1", "1.1.0",
+          "1.2.1", "1.2.0"
+      );
 
   public MetaStoreSchemaInfo(String hiveHome, HiveConf hiveConf, String dbType) throws HiveMetaException
{
     this.hiveHome = hiveHome;


Mime
View raw message