hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12592) Fix the truncate feature or purge it.
Date Sat, 29 Nov 2014 19:12:15 GMT

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

Andrew Purtell commented on HBASE-12592:

We fixed some of the copy-pasting when backporting updates to truncate to 0.98. It can be

> Fix the truncate feature or purge it.
> -------------------------------------
>                 Key: HBASE-12592
>                 URL: https://issues.apache.org/jira/browse/HBASE-12592
>             Project: HBase
>          Issue Type: Umbrella
>            Reporter: stack
>            Assignee: stack
> While working on our move to unmanaged connections, I ran into issues in TestAccessController.testTruncatePerms;
the acl permissions were not being restored when the table was restored.  Digging, I ended
up in the truncate 'handler'. Its a subclass of the delete table handler.  For the create
table part of trunctate, it does not call create table handler.  Instead it copy/pastes what
is going on over there only the copy/paste has rotted and needs recalibrating so acl perms
get restored at least; better would be removing the copy/paste and using the create table
handler.  Or, we could just drop the truncate feature as just not appropriate to a store like

This message was sent by Atlassian JIRA

View raw message