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

Enis Soztutar commented on HBASE-8963:
--------------------------------------

bq. What is the motivation? If you don't care about snapshots or other form of 
backup you can turn of the archiver
I think the archive for hfiles as similar to the fs thrash. Normally, you do 
not want to run with that. Adding a global config is unnecessary. 
bq. so if you have skipArchive true but the file is referenced by a snapshot it 
will be archived anyway.
ok good. 
bq. I was thinking at the table flag also to avoid stuff like "echo 
'drop_table', 'skip_archive' | hbase shell" executed by mistake.
If you explicitly set skip_archive, it is assumed you know what you are doing. 
Requiring explicit alter is fine, but the feature won't be as usable i feel. 

> 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
>             Fix For: 0.99.0
>
>         Attachments: HBASE-8963.trunk.v1.patch, HBASE-8963.trunk.v2.patch, 
> HBASE-8963.trunk.v3.patch, HBASE-8963.trunk.v4.patch, 
> HBASE-8963.trunk.v5.patch, HBASE-8963.trunk.v6.patch, 
> HBASE-8963.trunk.v7.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