HBASE-15627 Miss space and closing quote in AccessController#checkSystemOrSuperUser (Huaxiang Sun)
This commit is contained in:
parent
b7502feff3
commit
2dbbe8960a
|
@ -2490,7 +2490,7 @@ public class AccessController extends BaseMasterAndRegionObserver
|
||||||
User activeUser = getActiveUser();
|
User activeUser = getActiveUser();
|
||||||
if (!Superusers.isSuperUser(activeUser)) {
|
if (!Superusers.isSuperUser(activeUser)) {
|
||||||
throw new AccessDeniedException("User '" + (activeUser != null ?
|
throw new AccessDeniedException("User '" + (activeUser != null ?
|
||||||
activeUser.getShortName() : "null") + "is not system or super user.");
|
activeUser.getShortName() : "null") + "' is not system or super user.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue