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 df4fb72e189..c4bc35ed8f9 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(", "); }