[
https://issues.apache.org/jira/browse/HBASE-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844307#action_12844307
]
Todd Lipcon commented on HBASE-2231:
------------------------------------
bq. This would need that the region server use org.apache.hadoop.fs.create()
while crearing a hlog file (which allows failing a create if any intermediate
directory in the path is absent).
Which API does this? I was under the impression that all of the available
create() APIs recursively mkdired the containing directory (though maybe I'm
out of date or just plain wrong)
> Compaction events should be written to HLog
> -------------------------------------------
>
> Key: HBASE-2231
> URL: https://issues.apache.org/jira/browse/HBASE-2231
> Project: Hadoop HBase
> Issue Type: Improvement
> Components: regionserver
> Reporter: Todd Lipcon
>
> The sequence for a compaction should look like this:
> # Compact region to "new" files
> # Write a "Compacted Region" entry to the HLog
> # Delete "old" files
> This deals with a case where the RS has paused between step 1 and 2 and the
> regions have since been reassigned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.