sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kal...@apache.org
Subject [sentry] branch master updated: SENTRY-2498: Exception while deleting paths that does't exist (Kalyan Kumar Kalvagadda reviewed by Arjun Mishra)
Date Fri, 15 Feb 2019 20:09:17 GMT
This is an automated email from the ASF dual-hosted git repository.

kalyan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sentry.git


The following commit(s) were added to refs/heads/master by this push:
     new a00cc80  SENTRY-2498: Exception while deleting paths that does't exist (Kalyan Kumar
Kalvagadda reviewed by Arjun Mishra)
a00cc80 is described below

commit a00cc807728f02329f332b4f8d052de11ae85900
Author: Kalyan Kumar Kalvagadda <kkalyan@cloudera.com>
AuthorDate: Thu Feb 14 17:26:50 2019 -0600

    SENTRY-2498: Exception while deleting paths that does't exist (Kalyan Kumar Kalvagadda
reviewed by Arjun Mishra)
    
    Change-Id: Iaa689448b10e555e1c098254a0128e430e2c2f56
---
 .../src/main/java/org/apache/sentry/hdfs/HMSPaths.java                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/HMSPaths.java
b/sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/HMSPaths.java
index a00a90a..1dfa1d9 100644
--- a/sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/HMSPaths.java
+++ b/sentry-hdfs/sentry-hdfs-common/src/main/java/org/apache/sentry/hdfs/HMSPaths.java
@@ -798,8 +798,8 @@ public class HMSPaths implements AuthzPaths {
   void deletePathsFromAuthzObject(String authzObj,
       List<List<String>> authzObjPathElements) {
     Set<Entry> entries = authzObjToEntries.get(authzObj);
-    LOG.debug("[deletePathsFromAuthzObject] Paths for {} before delete are {}", authzObj,
entries.toString());
     if (entries != null) {
+      LOG.debug("[deletePathsFromAuthzObject] Paths for {} before delete are {}", authzObj,
entries.toString());
       Set<Entry> toDelEntries = new HashSet<Entry>(authzObjPathElements.size());
       for (List<String> pathElements : authzObjPathElements) {
         Entry entry = root.find(


Mime
View raw message