Description
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.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-8566 Master-Slave replication: truncate action isn't sent over to slave cluster and cause data inconsistency
- Closed