Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - HBase table truncate


Copy link to this message
-
Re: HBase table truncate
Ted Yu 2013-04-10, 14:01
bq. should truncate be promoted to a master call to have its own ACL check?

I that makes sense.

On Wed, Apr 10, 2013 at 6:52 AM, Matteo Bertozzi <
[EMAIL PROTECTED]> wrote:

> Hey,
>
> truncate currently is just an hbase shell command
> and it basically deletes the table and creates a new one.
>
> using ACLs the user running truncate, must have rights to create a table.
> (currently only "global granted" users can create tables)
>
> truncate is supposed to be more like a "delete_all",
> requiring just the ability to delete all the rows in the table.
>
> should truncate be promoted to a master call to have its own ACL check?
>