hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8843) Old trash directories are never deleted on upgrade from 1.x
Date Tue, 25 Sep 2012 21:36:09 GMT

     [ 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

Mime
View raw message