HBASE-15627 Miss space and closing quote in AccessController#checkSystemOrSuperUser (Huaxiang Sun)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/da021be1 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/da021be1 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/da021be1 Branch: refs/heads/branch-1.1 Commit: da021be17158e49ff41f23e914519efd80f9a0ae Parents: 0d2c8bd Author: Matteo Bertozzi <matteo.berto...@cloudera.com> Authored: Mon Apr 11 08:08:35 2016 -0700 Committer: Matteo Bertozzi <matteo.berto...@cloudera.com> Committed: Mon Apr 11 08:23:11 2016 -0700 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/security/access/AccessController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/da021be1/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java index fa175fb..8047bb8 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java @@ -2457,7 +2457,7 @@ public class AccessController extends BaseMasterAndRegionObserver User activeUser = getActiveUser(); if (!Superusers.isSuperUser(activeUser)) { throw new AccessDeniedException("User '" + (activeUser != null ? - activeUser.getShortName() : "null") + "is not system or super user."); + activeUser.getShortName() : "null") + "' is not system or super user."); } }