Repository: hive
Updated Branches:
  refs/heads/branch-3 f22412e0d -> e827e0382


HIVE-19375: Bad message: 'transactional'='false' is no longer a valid property 
and will be ignored (Eugene Koifman, reviewed by Jason Dere)


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

Branch: refs/heads/branch-3
Commit: e827e0382e26af72fc543d87e1fdbaf0cf395d19
Parents: f22412e
Author: Eugene Koifman <ekoif...@apache.org>
Authored: Thu Jul 12 11:34:29 2018 -0700
Committer: Eugene Koifman <ekoif...@apache.org>
Committed: Thu Jul 12 11:34:29 2018 -0700

----------------------------------------------------------------------
 .../hadoop/hive/metastore/TransactionalValidationListener.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/e827e038/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/TransactionalValidationListener.java
----------------------------------------------------------------------
diff --git 
a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/TransactionalValidationListener.java
 
b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/TransactionalValidationListener.java
index d9fdd29..76a8261 100644
--- 
a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/TransactionalValidationListener.java
+++ 
b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/TransactionalValidationListener.java
@@ -316,10 +316,8 @@ public final class TransactionalValidationListener extends 
MetaStorePreEventList
     }
 
     if ("false".equalsIgnoreCase(transactional)) {
-      // just drop transactional=false.  For backward compatibility in case 
someone has scripts
-      // with transactional=false
-      LOG.info("'transactional'='false' is no longer a valid property and will 
be ignored: " +
-        Warehouse.getQualifiedName(newTable));
+      // just drop transactional=false - absence of 'transactional' property 
is equivalent to
+      // transactional=false
       return;
     }
 

Reply via email to