You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Vinay (JIRA)" <ji...@apache.org> on 2012/09/25 15:33:07 UTC
[jira] [Created] (HDFS-3970) BlockPoolSliceStorage#doRollback(..)
should use BlockPoolSliceStorage instead of DataStorage to read prev
version file.
Vinay created HDFS-3970:
---------------------------
Summary: 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
{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