hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15627) Miss space and closing quote in AccessController#checkSystemOrSuperUser
Date Mon, 11 Apr 2016 18:48:25 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235715#comment-15235715
] 

Hudson commented on HBASE-15627:
--------------------------------

SUCCESS: Integrated in HBase-1.2 #601 (See [https://builds.apache.org/job/HBase-1.2/601/])
HBASE-15627 Miss space and closing quote in (matteo.bertozzi: rev 53b94c140ab8700d2930663c2b060030a602a364)
* hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java


>  Miss space and closing quote in AccessController#checkSystemOrSuperUser
> ------------------------------------------------------------------------
>
>                 Key: HBASE-15627
>                 URL: https://issues.apache.org/jira/browse/HBASE-15627
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0, 0.98.19, 1.1.5, 1.2.2
>
>         Attachments: HBASE-15627-v001.patch
>
>
>  Miss space and closing quote in AccessController#checkSystemOrSuperUser
> {code}
>   private void checkSystemOrSuperUser() throws IOException {
>     // No need to check if we're not going to throw
>     if (!authorizationEnabled) {
>       return;
>     }
>     User activeUser = getActiveUser();
>     if (!Superusers.isSuperUser(activeUser)) {
>     //***, miss closing ' and space in the AccessDeniedException string
>       throw new AccessDeniedException("User '" + (activeUser != null ?
>         activeUser.getShortName() : "null") + "is not system or super user.");
>     }
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message