[
https://issues.apache.org/jira/browse/HDFS-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990355#comment-12990355
]
Boris Shkolnik commented on HDFS-1496:
--------------------------------------
Looks like the problem is that when we are trying to restore a storage dir, we
format it , which always saves the current in-memory state into a _new_
fsimage. So instead we should restore a storage without saving the state and
creating new fsimage. It will be copied there during the checkpoint anyway.
I've attached the patch to HDFS-1602. Please look at it and comment.(patch is
for trunk).
> TestStorageRestore is failing after HDFS-903 fix
> ------------------------------------------------
>
> Key: HDFS-1496
> URL: https://issues.apache.org/jira/browse/HDFS-1496
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 0.22.0, 0.23.0
> Reporter: Konstantin Boudnik
> Assignee: Hairong Kuang
> Priority: Blocker
> Fix For: 0.22.0
>
> Attachments: HDFS-1496.sh, HDFS-1496.sh, HDFS-1496.sh
>
>
> TestStorageRestore seems to be failing after HDFS-903 commit. Running git
> bisect confirms it.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira