You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2014/08/06 17:45:16 UTC

[jira] [Commented] (ACCUMULO-3039) demote "File doesn't exist" warning in the garbage collector

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

Eric Newton commented on ACCUMULO-3039:
---------------------------------------

The race condition:

* tablet server compacts a bunch of files, removes references to them
* gc scans for references to a file, and finds none
* gc deletes the file and the delete marker
* tablet server creates a new delete marker for the recently deleted file
* gc runs again, and finds that the file is missing when it attempts to delete it a second time

The larger the cluster, the more likely these operations will overlap, causing the error message about deleting a file.

> demote "File doesn't exist" warning in the garbage collector
> ------------------------------------------------------------
>
>                 Key: ACCUMULO-3039
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3039
>             Project: Accumulo
>          Issue Type: Bug
>          Components: gc
>    Affects Versions: 1.6.1
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>            Priority: Trivial
>             Fix For: 1.6.1, 1.7.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> There's a race condition between the removal of a file, and the removal of the candidate marker in the metadata table.  The race condition is safe, but the production of warnings is annoying.  Demote this message to DEBUG.



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