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 14:00:16 GMT

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

Hudson commented on HADOOP-8843:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1209 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1209/])
    HADOOP-8843. Old trash directories are never deleted on upgrade from 1.x.  Contributed
by Jason Lowe (Revision 1390616)

     Result = SUCCESS
jlowe : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1390616
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
* /hadoop/common/trunk/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

Mime
View raw message