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

Tsz Wo (Nicholas), SZE commented on HDFS-5526:
----------------------------------------------

I like the simplicity of the patch -- it only changes the rollback code but not 
upgrade.  However, the VERSION file is overwritten but not restored during 
rollback.  I worry if it is possible that the new VERSION file is different 
from the original VERSION file.  For example, the ctime or some ids may have 
been changed in some unexpected way without being noticed.  How can we make 
sure the new and the original VERSION files are the same?

> Datanode cannot roll back to previous layout version
> ----------------------------------------------------
>
>                 Key: HDFS-5526
>                 URL: https://issues.apache.org/jira/browse/HDFS-5526
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Kihwal Lee
>            Priority: Blocker
>         Attachments: HDFS-5526.patch
>
>
> Current trunk layout version is -48.
> Hadoop v2.2.0 layout version is -47.
> If a cluster is upgraded from v2.2.0 (-47) to trunk (-48), the datanodes 
> cannot start with -rollback.  It will fail with IncorrectVersionException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to