You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by zh...@apache.org on 2017/05/18 01:36:06 UTC
ranger git commit: RANGER-1585:Do some code improvement for the error
logs in RangerBasePlugin.java
Repository: ranger
Updated Branches:
refs/heads/master b451c34d9 -> 1056997de
RANGER-1585:Do some code improvement for the error logs in RangerBasePlugin.java
Signed-off-by: peng.jianhua <pe...@zte.com.cn>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/1056997d
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/1056997d
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/1056997d
Branch: refs/heads/master
Commit: 1056997de83fae36a6b966be8ffe24cd89bcf551
Parents: b451c34
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Wed May 17 09:44:27 2017 +0800
Committer: peng.jianhua <pe...@zte.com.cn>
Committed: Thu May 18 09:35:07 2017 +0800
----------------------------------------------------------------------
.../apache/ranger/plugin/service/RangerBasePlugin.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/1056997d/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java b/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
index 13900c6..06b8f4d 100644
--- a/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
+++ b/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java
@@ -308,7 +308,7 @@ public class RangerBasePlugin {
public void grantAccess(GrantRevokeRequest request, RangerAccessResultProcessor resultProcessor) throws Exception {
if(LOG.isDebugEnabled()) {
- LOG.debug("==> RangerAdminRESTClient.grantAccess(" + request + ")");
+ LOG.debug("==> RangerBasePlugin.grantAccess(" + request + ")");
}
PolicyRefresher refresher = this.refresher;
@@ -328,13 +328,13 @@ public class RangerBasePlugin {
}
if(LOG.isDebugEnabled()) {
- LOG.debug("<== RangerAdminRESTClient.grantAccess(" + request + ")");
+ LOG.debug("<== RangerBasePlugin.grantAccess(" + request + ")");
}
}
public void revokeAccess(GrantRevokeRequest request, RangerAccessResultProcessor resultProcessor) throws Exception {
if(LOG.isDebugEnabled()) {
- LOG.debug("==> RangerAdminRESTClient.revokeAccess(" + request + ")");
+ LOG.debug("==> RangerBasePlugin.revokeAccess(" + request + ")");
}
PolicyRefresher refresher = this.refresher;
@@ -354,13 +354,13 @@ public class RangerBasePlugin {
}
if(LOG.isDebugEnabled()) {
- LOG.debug("<== RangerAdminRESTClient.revokeAccess(" + request + ")");
+ LOG.debug("<== RangerBasePlugin.revokeAccess(" + request + ")");
}
}
public static RangerAdminClient createAdminClient(String rangerServiceName, String applicationId, String propertyPrefix) {
if(LOG.isDebugEnabled()) {
- LOG.debug("==> RangerAdminRESTClient.createAdminClient(" + rangerServiceName + ", " + applicationId + ", " + propertyPrefix + ")");
+ LOG.debug("==> RangerBasePlugin.createAdminClient(" + rangerServiceName + ", " + applicationId + ", " + propertyPrefix + ")");
}
RangerAdminClient ret = null;
@@ -393,7 +393,7 @@ public class RangerBasePlugin {
ret.init(rangerServiceName, applicationId, propertyPrefix);
if(LOG.isDebugEnabled()) {
- LOG.debug("<== RangerAdminRESTClient.createAdminClient(" + rangerServiceName + ", " + applicationId + ", " + propertyPrefix + "): policySourceImpl=" + policySourceImpl + ", client=" + ret);
+ LOG.debug("<== RangerBasePlugin.createAdminClient(" + rangerServiceName + ", " + applicationId + ", " + propertyPrefix + "): policySourceImpl=" + policySourceImpl + ", client=" + ret);
}
return ret;
}