[ 
https://issues.apache.org/jira/browse/HBASE-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bharath v updated HBASE-8963:
-----------------------------

    Attachment: HBASE-8963.trunk.v8.patch

This patch makes it a table level property. So we can enable it as follows

{code:title=Example java|borderStyle=solid}
HTableDescriptor htd = new HTableDescriptor(test);
htd.setSkipArchive(true);
{code}

or 

{code:title=Example shell|borderStyle=solid}
create 't1', 'f1', {SKIP_ARCHIVE => 'True'}
{code}

Added unit tests which test table deletions and compactions with skip_archive 
enabled. Added a new config key "hbase.hfile.skip.archive" and when set to 
true, it enables skipArchive for all tables across deletes and compactions etc. 
If set to False (default), the code considers per table setting. 

> 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, HBASE-8963.trunk.v8.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