[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 ] Allen Wittenauer updated HADOOP-8843: - Fix Version/s: (was: 3.0.0) 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: 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 was sent by Atlassian JIRA (v6.3.4#6332)
[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: --- Resolution: Fixed Fix Version/s: 2.0.3-alpha 0.23.4 3.0.0 Status: Resolved (was: Patch Available) I committed this to trunk, branch-2, and branch-0.23. 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
[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
[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: --- Target Version/s: 0.23.4, 2.0.3-alpha Status: Patch Available (was: Open) 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
[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 Thanks for the review, Todd. Updated the patch accordingly. 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, 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