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/10/26 07:51:20 UTC

hive git commit: HIVE-12261 - adding more comments

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 <th...@hortonworks.com>
Authored: Sun Oct 25 23:51:16 2015 -0700
Committer: Thejas Nair <th...@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