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

Stephen Yuan Jiang commented on HBASE-18403:
--------------------------------------------

Which version of HBase you see this problem?  At least in 
TruncateTableProcedure code (1.1+), we check permission at the beginning and 
then truncate table (delete and then create), I don't see the logic to abort in 
the middle of procedure and complete the task half way. 

> [Shell]Truncate permission required
> -----------------------------------
>
>                 Key: HBASE-18403
>                 URL: https://issues.apache.org/jira/browse/HBASE-18403
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Yun Zhao
>            Assignee: Yun Zhao
>            Priority: Trivial
>         Attachments: HBASE-18403.patch
>
>
> When a user has only (Create) permission to execute truncate, the table will 
> be deleted and not re-created



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to