[jira] [Updated] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HDFS-3970: --- Fix Version/s: (was: 3.0.0) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinayakumar B Assignee: Vinayakumar B Fix For: 2.0.3-alpha, 0.23.10 Attachments: HDFS-3970.patch, hdfs-3970-1.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kihwal Lee updated HDFS-3970: - Fix Version/s: 0.23.10 3.0.0 BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Vinay Fix For: 3.0.0, 2.0.3-alpha, 0.23.10 Attachments: HDFS-3970.patch, hdfs-3970-1.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Updated] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinay updated HDFS-3970: Assignee: Vinay (was: Andrew Wang) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Vinay Fix For: 2.0.3-alpha Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-3970: -- Status: Open (was: Patch Available) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 2.0.2-alpha, 3.0.0 Reporter: Vinay Assignee: Vinay Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-3970: -- Attachment: (was: hdfs-3970-1.patch) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Vinay Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-3970: -- Attachment: hdfs-3970-1.patch BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Vinay Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-3970: -- Status: Patch Available (was: Open) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 2.0.2-alpha, 3.0.0 Reporter: Vinay Assignee: Vinay Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers updated HDFS-3970: - Target Version/s: 2.0.3-alpha BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Vinay Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron T. Myers updated HDFS-3970: - Resolution: Fixed Fix Version/s: 2.0.3-alpha Assignee: Andrew Wang (was: Vinay) Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) I've just committed this to trunk and branch-2 based on Todd's +1. Thanks a lot for the contribution, Vinay and Andrew. BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Andrew Wang Fix For: 2.0.3-alpha Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Wang updated HDFS-3970: -- Attachment: hdfs-3970-1.patch I added a test to Vinay's patch which attempts to rollback a block pool. Tested by running the test before and after the fix to confirm. BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: datanode Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Vinay Attachments: hdfs-3970-1.patch, HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinay updated HDFS-3970: Attachment: HDFS-3970.patch Attached the patch BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: data-node Affects Versions: 3.0.0, 2.0.2-alpha Reporter: Vinay Assignee: Vinay Attachments: HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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] (HDFS-3970) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file.
[ https://issues.apache.org/jira/browse/HDFS-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinay updated HDFS-3970: Status: Patch Available (was: Open) BlockPoolSliceStorage#doRollback(..) should use BlockPoolSliceStorage instead of DataStorage to read prev version file. --- Key: HDFS-3970 URL: https://issues.apache.org/jira/browse/HDFS-3970 Project: Hadoop HDFS Issue Type: Bug Components: data-node Affects Versions: 2.0.2-alpha, 3.0.0 Reporter: Vinay Assignee: Vinay Attachments: HDFS-3970.patch {code}// read attributes out of the VERSION file of previous directory DataStorage prevInfo = new DataStorage(); prevInfo.readPreviousVersionProperties(bpSd);{code} In the above code snippet BlockPoolSliceStorage instance should be used. other wise rollback results in 'storageType' property missing which will not be there in initial VERSION file. -- 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