hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13436) Include user name in ADE for scans
Date Thu, 09 Apr 2015 07:48:15 GMT

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

Matteo Bertozzi commented on HBASE-13436:
-----------------------------------------

why don't we use: throw new AccessDeniedException("Insufficient permissions " + authResult.toContextString())
as we do in other places? there are just a couple of places that don't do this.



> Include user name in ADE for scans
> ----------------------------------
>
>                 Key: HBASE-13436
>                 URL: https://issues.apache.org/jira/browse/HBASE-13436
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Srikanth Srungarapu
>            Assignee: Srikanth Srungarapu
>            Priority: Minor
>         Attachments: HBASE-13436.patch
>
>
> Currently, we're not including user name in case of ADE for scans, whereas in case of
other operations we're doing so. 
> {code}
> ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions
(table=test, action=READ)
> {code}
> Got bumped into this internally. Helps during debugging. 



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

Mime
View raw message