hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject [2/4] hbase git commit: HBASE-13224 Minor formatting issue when logging a namespace scope in AuthResult#toContextString
Date Fri, 13 Mar 2015 11:05:45 GMT
HBASE-13224 Minor formatting issue when logging a namespace scope in AuthResult#toContextString


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

Branch: refs/heads/branch-1
Commit: aa93b176f00f4352dad5f948a74b9f9f56b31ea5
Parents: 2d2b9ba
Author: Esteban Gutierrez <esteban@cloudera.com>
Authored: Thu Mar 12 19:02:09 2015 -0700
Committer: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Committed: Fri Mar 13 10:53:59 2015 +0000

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/security/access/AuthResult.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/aa93b176/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AuthResult.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AuthResult.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AuthResult.java
index df4fb72..c4bc35e 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AuthResult.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AuthResult.java
@@ -177,10 +177,10 @@ public class AuthResult {
         .append(user != null ? user.getName() : "UNKNOWN")
         .append(", ");
     sb.append("scope=")
-        .append(namespace != null ? namespace : table == null ? "GLOBAL" : table);
+        .append(namespace != null ? namespace : table == null ? "GLOBAL" : table)
+        .append(", ");
     if(namespace == null) {
-      sb.append(", ")
-        .append("family=")
+      sb.append("family=")
         .append(toFamilyString())
         .append(", ");
     }


Mime
View raw message