sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcha...@apache.org
Subject sentry git commit: SENTRY-1228: SimpleFileProviderBackend error message missing spaces (Gregory Chanan, Reviewed by: Vamsee Yarlagadda)
Date Tue, 03 May 2016 01:14:41 GMT
Repository: sentry
Updated Branches:
  refs/heads/master 51475b0c0 -> fc5cd5a47


SENTRY-1228: SimpleFileProviderBackend error message missing spaces (Gregory Chanan, Reviewed
by: Vamsee Yarlagadda)


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

Branch: refs/heads/master
Commit: fc5cd5a477860d0afe5e583f66f10a506bddccb8
Parents: 51475b0
Author: Gregory Chanan <gchanan@cloudera.com>
Authored: Mon May 2 14:37:33 2016 -0700
Committer: Gregory Chanan <gchanan@cloudera.com>
Committed: Mon May 2 18:14:03 2016 -0700

----------------------------------------------------------------------
 .../org/apache/sentry/provider/file/SimpleFileProviderBackend.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/fc5cd5a4/sentry-provider/sentry-provider-file/src/main/java/org/apache/sentry/provider/file/SimpleFileProviderBackend.java
----------------------------------------------------------------------
diff --git a/sentry-provider/sentry-provider-file/src/main/java/org/apache/sentry/provider/file/SimpleFileProviderBackend.java
b/sentry-provider/sentry-provider-file/src/main/java/org/apache/sentry/provider/file/SimpleFileProviderBackend.java
index 91fd4a3..3c0e349 100644
--- a/sentry-provider/sentry-provider-file/src/main/java/org/apache/sentry/provider/file/SimpleFileProviderBackend.java
+++ b/sentry-provider/sentry-provider-file/src/main/java/org/apache/sentry/provider/file/SimpleFileProviderBackend.java
@@ -275,7 +275,7 @@ public class SimpleFileProviderBackend implements ProviderBackend {
       mergeResult(groupRolePrivilegeTableTemp);
       groupRolePrivilegeTableTemp.clear();
     } catch (Exception e) {
-      configErrors.add("Error processing file " + resourcePath + e.getMessage());
+      configErrors.add("Error processing file " + resourcePath + ".  Message: " + e.getMessage());
       LOGGER.error("Error processing file, ignoring " + resourcePath, e);
     }
   }


Mime
View raw message