Repository: sentry
Updated Branches:
  refs/heads/master 2c37d8381 -> cb1cd1f80


SENTRY-2373: Incorrect WARN message when processing add partition messages 
(Arjun Mishra reviewed by Lina li)

Change-Id: I1c99074096a0c3940cd42b0c31125ed9d2c559a8


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

Branch: refs/heads/master
Commit: cb1cd1f80332b449000f28913e6086aea7fa1356
Parents: 2c37d83
Author: amishra <[email protected]>
Authored: Fri Aug 31 14:38:03 2018 -0500
Committer: amishra <[email protected]>
Committed: Fri Aug 31 14:38:24 2018 -0500

----------------------------------------------------------------------
 .../provider/db/service/persistent/NotificationProcessor.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/cb1cd1f8/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java
----------------------------------------------------------------------
diff --git 
a/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java
 
b/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java
index c8c1273..7b7d0e1 100644
--- 
a/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java
+++ 
b/sentry-service/sentry-service-server/src/main/java/org/apache/sentry/provider/db/service/persistent/NotificationProcessor.java
@@ -448,7 +448,7 @@ final class NotificationProcessor {
     String tableName = addPartitionMessage.getTable();
     List<String> locations = addPartitionMessage.getLocations();
     if ((dbName == null) || (tableName == null) || (locations == null)) {
-      LOGGER.warn(String.format("Create table event has incomplete 
information. "
+      LOGGER.warn(String.format("Add partition event has incomplete 
information. "
               + "dbName = %s, tableName = %s, locations = %s",
           StringUtils.defaultIfBlank(dbName, "null"),
           StringUtils.defaultIfBlank(tableName, "null"),

Reply via email to