accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2520) Garbage collector deleted everything when given bad input
Date Wed, 26 Mar 2014 22:36:15 GMT

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

ASF subversion and git services commented on ACCUMULO-2520:
-----------------------------------------------------------

Commit a64151e6362034fac0c5f243c7b04d924f096df0 in accumulo's branch refs/heads/master from
[~keith_turner]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=a64151e ]

ACCUMULO-2520 GC changes : disallow a delete marker of hdfs://nn/, log a warning about invalid
delete, and add test for bad delete markers


> Garbage collector deleted everything when given bad input
> ---------------------------------------------------------
>
>                 Key: ACCUMULO-2520
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2520
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>            Priority: Critical
>             Fix For: 1.4.5, 1.5.2, 1.6.0
>
>
> Patch v3 of the upgrade from ACCUMULO-2145 had a test that did the following before upgrade.
> {noformat}
> root@testUp> table !METADATA
> root@testUp !METADATA> grant Table.WRITE -u root 
> root@testUp !METADATA> insert ~del testDel test valueTest
> {noformat}
> This is a malformed delete entry.  Accumulo code should not delete such entries.  When
the 1.5.1 garbage collector saw this it did the following.
> {noformat}
> 2014-03-20 18:20:05,359 [gc.SimpleGarbageCollector] DEBUG: Deleting /accumuloTest/tables
> 2014-03-20 18:20:05,359 [gc.SimpleGarbageCollector] DEBUG: Deleting /accumuloTest/tables/!0/default_tablet/F0000009.rf
> 2014-03-20 18:20:05,360 [gc.SimpleGarbageCollector] DEBUG: Deleting /accumuloTest/tables/!0/table_info/F000000b.rf
> {noformat}
> GC should validate that delete entries are paths of the expected length.  I have confirmed
this bug exist in 1.5.1.  I am assuming it exist in 1.4 and 1.6 branches.



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

Mime
View raw message