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

Hadoop QA commented on HBASE-9570:
----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  
http://issues.apache.org/jira/secure/attachment/12608415/HBASE-9570-0.96.01.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7541//console

This message is automatically generated.

> With AccessDeniedException, HBase shell would be better to just display the 
> error message to be user friendly
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9570
>                 URL: https://issues.apache.org/jira/browse/HBASE-9570
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Yang Wang
>            Assignee: Yang Wang
>            Priority: Minor
>             Fix For: 0.98.0
>
>         Attachments: HBASE-9570, HBASE-9570.01.patch, HBASE-9570.02.patch, 
> HBASE-9570-0.96.01.patch
>
>
> When access unauthorized resource like table, AccessDeniedException will be 
> thrown. In HBase shell, the error message with stack trace will be displayed 
> as follows. It would be better to just display the error message avoiding the 
> stack trace to be user friendly. 
> {noformat}
> ERROR: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient 
> permissions for user 'u1' for scanner open on table t1
>         at 
> org.apache.hadoop.hbase.security.access.AccessController.preScannerOpen(AccessController.java:1116)
>         at 
> org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.preScannerOpen(RegionCoprocessorHost.java:1293)
>         at 
> org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3026)
>         at 
> org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:26971)
>         at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2083)
>         at 
> org.apache.hadoop.hbase.ipc.RpcServer$CallRunner.run(RpcServer.java:1820)
>         at 
> org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:165)
>         at 
> org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:41)
>         at 
> org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:113)
>         at java.lang.Thread.run(Thread.java:662)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to