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

bharath v commented on HBASE-8963:
----------------------------------

Attached v2 of the patch. This moves all the checks to the central code 
archiver. Had to make some changes in the archive() calls by adding the 
Configuration object and as a result, I changed the caller classes too, 
especially from compaction/ deletion. Add unitTests for table deletion with 
snapshots/file links. Tested compaction locally on my machine and confirmed 
that the code skips archives and deletes the storefiles directly (via debug 
logs).

> Add configuration option to skip HFile archiving
> ------------------------------------------------
>
>                 Key: HBASE-8963
>                 URL: https://issues.apache.org/jira/browse/HBASE-8963
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: bharath v
>         Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch
>
>
> Currently HFileArchiver is always called when a table is dropped.
> A configuration option (either global or per table) should be provided so 
> that archiving can be skipped when table is deleted.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to