[ https://issues.apache.org/jira/browse/HBASE-8332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831648#comment-13831648 ]
Matteo Bertozzi commented on HBASE-8332: ---------------------------------------- posted the patch on review board https://reviews.apache.org/r/15835/ > 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 > Attachments: HBASE-8332-v0.patch, HBASE-8332.draft.patch > > > 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 was sent by Atlassian JIRA (v6.1#6144)