hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stak...@apache.org
Subject hive git commit: HIVE-17008: Fix boolean flag switchup in DropTableEvent (Dan Burkert, reviewed by Mohit Sabharwal and Peter Vary)
Date Tue, 07 Nov 2017 04:26:44 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-2 307f58270 -> d9ed95677


HIVE-17008: Fix boolean flag switchup in DropTableEvent (Dan Burkert, reviewed by Mohit Sabharwal
and Peter Vary)


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

Branch: refs/heads/branch-2
Commit: d9ed9567720537e33ea823e851adbab93833e311
Parents: 307f582
Author: Peter Vary <pvary@cloudera.com>
Authored: Fri Aug 11 12:00:33 2017 +0200
Committer: Sahil Takiar <stakiar@cloudera.com>
Committed: Mon Nov 6 20:25:33 2017 -0800

----------------------------------------------------------------------
 .../src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/d9ed9567/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
----------------------------------------------------------------------
diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
index d52f049..d32e89c 100644
--- a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
+++ b/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
@@ -1712,7 +1712,7 @@ public class HiveMetaStore extends ThriftHiveMetastore {
             transactionalListenerResponses =
                 MetaStoreListenerNotifier.notifyEvent(transactionalListeners,
                                                       EventType.DROP_TABLE,
-                                                      new DropTableEvent(tbl, deleteData,
true, this),
+                                                      new DropTableEvent(tbl, true, deleteData,
this),
                                                       envContext);
           }
           success = ms.commitTransaction();
@@ -1732,7 +1732,7 @@ public class HiveMetaStore extends ThriftHiveMetastore {
         if (!listeners.isEmpty()) {
           MetaStoreListenerNotifier.notifyEvent(listeners,
                                                 EventType.DROP_TABLE,
-                                                new DropTableEvent(tbl, deleteData, success,
this),
+                                                new DropTableEvent(tbl, success, deleteData,
this),
                                                 envContext,
                                                 transactionalListenerResponses, ms);
         }


Mime
View raw message