You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2017/01/27 23:14:11 UTC

[2/4] hbase git commit: HBASE-17540 Change SASL server GSSAPI callback log line from DEBUG to TRACE in RegionServer

HBASE-17540 Change SASL server GSSAPI callback log line from DEBUG to TRACE in RegionServer

Signed-off-by: Andrew Purtell <ap...@apache.org>


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

Branch: refs/heads/branch-1.2
Commit: 466cc9f624647b1e1fdb84eb0b5e9fd20068c195
Parents: c0a3403
Author: Sukumar Maddineni <sm...@salesforce.com>
Authored: Wed Jan 25 14:08:22 2017 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Fri Jan 27 15:13:57 2017 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/security/HBaseSaslRpcServer.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/466cc9f6/hbase-server/src/main/java/org/apache/hadoop/hbase/security/HBaseSaslRpcServer.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/HBaseSaslRpcServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/HBaseSaslRpcServer.java
index b9e56d9..56e035e 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/HBaseSaslRpcServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/HBaseSaslRpcServer.java
@@ -111,8 +111,8 @@ public class HBaseSaslRpcServer {
         UserGroupInformation user = null;
         user = tokenIdentifier.getUser(); // may throw exception
         connection.attemptingUser = user;
-        if (LOG.isDebugEnabled()) {
-          LOG.debug("SASL server DIGEST-MD5 callback: setting password "
+        if (LOG.isTraceEnabled()) {
+          LOG.trace("SASL server DIGEST-MD5 callback: setting password "
               + "for client: " + tokenIdentifier.getUser());
         }
         pc.setPassword(password);
@@ -126,10 +126,10 @@ public class HBaseSaslRpcServer {
           ac.setAuthorized(false);
         }
         if (ac.isAuthorized()) {
-          if (LOG.isDebugEnabled()) {
+          if (LOG.isTraceEnabled()) {
             String username =
               getIdentifier(authzid, secretManager).getUser().getUserName();
-            LOG.debug("SASL server DIGEST-MD5 callback: setting "
+            LOG.trace("SASL server DIGEST-MD5 callback: setting "
                 + "canonicalized client ID: " + username);
           }
           ac.setAuthorizedID(authzid);