[
https://issues.apache.org/jira/browse/HBASE-12487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14213416#comment-14213416
]
Hadoop QA commented on HBASE-12487:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12681713/HBASE-12487.diff
against trunk revision .
ATTACHMENT ID: 12681713
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output:
https://builds.apache.org/job/PreCommit-HBASE-Build/11687//console
This message is automatically generated.
> Explicitly flush the file name in sweep job
> -------------------------------------------
>
> Key: HBASE-12487
> URL: https://issues.apache.org/jira/browse/HBASE-12487
> Project: HBase
> Issue Type: Sub-task
> Components: regionserver, Scanners
> Affects Versions: hbase-11339
> Reporter: Jingcheng Du
> Assignee: Jingcheng Du
> Fix For: hbase-11339
>
> Attachments: HBASE-12487.diff
>
>
> Currently in the implementation of sweeper, we need to remove the mob files
> that are not referenced by hbase any more.
> # List the names of all the existing files and write them to a seq file.
> # In each reducer, write the visited mob file names to a seq file.
> # After the mapreduce is done, remove the files that are existent in step1
> but not in step2 (those are the unused/unreferenced files).
> Currently the flush of the writer depends on the IOUtils.closeStream(writer),
> if this close operation fails silently, the file names won't be written to
> seq files, some files that are still referenced by hbase will be archived
> after the mapreduce is finished.
> We should explicitly invoke write.hflush() to flush out the user buffer.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)