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

Jonathan Hsieh commented on HBASE-8332:
---------------------------------------

We should also make sure we take the table lock to prevent races with 
enable/disable/alter while the truncate is happening.
                
> Add truncate as HMaster method
> ------------------------------
>
>                 Key: HBASE-8332
>                 URL: https://issues.apache.org/jira/browse/HBASE-8332
>             Project: HBase
>          Issue Type: Improvement
>          Components: master
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.95.1
>
>
> Currently truncate and truncate_preserve are only shell functions, and 
> implemented as deleteTable() + createTable().
> Using ACLs the user running truncate, must have rights to create a table and 
> only "global granted" users can create tables.
> Add truncate() and truncatePreserve() to HBaseAdmin/HMaster with its own ACL 
> check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to