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

Zhe Zhang commented on HDFS-8480:
---------------------------------

Thanks for the comments Vinod and Arpit. 

I tried the patch again and got the same failure. To verify that the failure is 
caused by edit log version I changed the following line and removed the {{-1}}:
{code}
out.create(NameNodeLayoutVersion.CURRENT_LAYOUT_VERSION - 1); -> 
out.create(NameNodeLayoutVersion.CURRENT_LAYOUT_VERSION);
{code}
And then the test passes. I think this expected when 
{{EditLogFileInputStream#init()}} is called with {{verifyLayoutVersion}} as 
true.

> Fix performance and timeout issues in HDFS-7929: use hard-links instead of 
> copying edit logs
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8480
>                 URL: https://issues.apache.org/jira/browse/HDFS-8480
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Critical
>         Attachments: HDFS-8480.00.patch, HDFS-8480.01.patch
>
>
> HDFS-7929 copies existing edit logs to the storage directory of the upgraded 
> {{NameNode}}. This slows down the upgrade process. This JIRA aims to use 
> hard-linking instead of per-op copying to achieve the same goal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to