You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2012/09/25 23:36:09 UTC

[jira] [Updated] (HADOOP-8843) Old trash directories are never deleted on upgrade from 1.x

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

Jason Lowe updated HADOOP-8843:
-------------------------------

    Attachment: HADOOP-8843.patch

Patch to update TrashPolicyDefault so it checks for the old checkpoint format if parsing the new format fails.
                
> Old trash directories are never deleted on upgrade from 1.x
> -----------------------------------------------------------
>
>                 Key: HADOOP-8843
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8843
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.3, 2.0.2-alpha
>            Reporter: Robert Joseph Evans
>            Assignee: Jason Lowe
>            Priority: Critical
>         Attachments: HADOOP-8843.patch
>
>
> The older format of the trash checkpoint for 1.x is yyMMddHHmm the new format is yyMMddHHmmss(-\d+)? so if you upgrade from an old cluster to a new one, all of the entires in .trash will never be deleted because they currently are always ignored on deletion.
> We should support deleting the older format as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira