hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12592) Fix the truncate feature or purge it.
Date Thu, 27 Nov 2014 11:12:12 GMT
stack created HBASE-12592:
-----------------------------

             Summary: 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message