hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject hive git commit: HIVE-12261 - adding more comments
Date Mon, 26 Oct 2015 06:51:20 GMT
Repository: hive
Updated Branches:
  refs/heads/master 1f9556d84 -> 2a0ea58b1


HIVE-12261 - adding more comments


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

Branch: refs/heads/master
Commit: 2a0ea58b18b864b556b37870b0189d13537df5ce
Parents: 1f9556d
Author: Thejas Nair <thejas@hortonworks.com>
Authored: Sun Oct 25 23:51:16 2015 -0700
Committer: Thejas Nair <thejas@hortonworks.com>
Committed: Sun Oct 25 23:51:16 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/hive/blob/2a0ea58b/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 98798e8..7c7f7ce 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreSchemaInfo.java
@@ -167,7 +167,10 @@ public class MetaStoreSchemaInfo {
   /**
    * A dbVersion is compatible with hive version if it is greater or equal to
    * the hive version. This is result of the db schema upgrade design principles
-   * followed in hive project.
+   * followed in hive project. The state where db schema version is ahead of 
+   * hive software version is often seen when a 'rolling upgrade' or 
+   * 'rolling downgrade' is happening. This is a state where hive is functional 
+   * and returning non zero status for it is misleading.
    *
    * @param hiveVersion
    *          version of hive software


Mime
View raw message