[ 
https://issues.apache.org/jira/browse/HDFS-6696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wang updated HDFS-6696:
------------------------------

    Attachment: hdfs-6696.001.patch

Thanks Mit, I assume you meant 0.23.11.

Patch attached. I found that branch-1 calls a different method to add paths, 
and the rename function also needs to be called for UC files too. Added some 
tests with some image+edits from 1.2.1 and 0.23.11. Patch was generated with 
"git diff --binary".

> Name node cannot start if the path of a file under construction contains 
> ".snapshot"
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-6696
>                 URL: https://issues.apache.org/jira/browse/HDFS-6696
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Kihwal Lee
>            Assignee: Andrew Wang
>            Priority: Blocker
>         Attachments: hdfs-6696.001.patch
>
>
> Using {{-renameReserved}} to rename ".snapshot" in a pre-hdfs-snapshot 
> feature fsimage during upgrade only works, if there is nothing under 
> construction under the renamed directory.  I am not sure whether it takes 
> care of edits containing ".snapshot" properly.
> The workaround is to identify these directories and rename, then do 
> {{saveNamespace}} before performing upgrade.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to