hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8843) Old trash directories are never deleted on upgrade from 1.x
Date Thu, 27 Sep 2012 12:44:09 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464670#comment-13464670

Hudson commented on HADOOP-8843:

Integrated in Hadoop-Hdfs-0.23-Build #387 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/387/])
    svn merge -c 1390616 to fix HADOOP-8843. Old trash directories are never deleted on upgrade
from 1.x.  Contributed by Jason Lowe (Revision 1390623)

     Result = UNSTABLE
jlowe : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390623
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestTrash.java

> 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
>             Fix For: 3.0.0, 0.23.4, 2.0.3-alpha
>         Attachments: HADOOP-8843.patch, 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

View raw message