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/a4cd3533 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a4cd3533 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a4cd3533 Branch: refs/heads/branch-1.3 Commit: a4cd35338502b83e28318e3a93009159db3133d5 Parents: 9473ab4 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:28:17 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/a4cd3533/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 b0e8c8c..a147b12 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 @@ -2490,7 +2490,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."); } }