You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2022/06/10 07:16:00 UTC

[jira] [Comment Edited] (HDFS-11448) JN log segment syncing should support HA upgrade

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

JiangHua Zhu edited comment on HDFS-11448 at 6/10/22 7:15 AM:
--------------------------------------------------------------

Hi [~hanishakoneru], nice to communicate with you.
In JNStorage, getCurrentDir() is not used anywhere.
If you don't mind, I'll remove JNStorage#getCurrentDir() which is not used.


was (Author: jianghuazhu):
Hi [~hanishakoneru], nice to communicate with you.
I found the new addition of JNStorage#getCurrentDir() here, and yes, that's good because sd.getCurrentDir() is used in multiple places in the context, but there is no use of it anywhere.
If you don't mind, I'll modify this to replace sd.getCurrentDir() with JNStorage#getCurrentDir().


> JN log segment syncing should support HA upgrade
> ------------------------------------------------
>
>                 Key: HDFS-11448
>                 URL: https://issues.apache.org/jira/browse/HDFS-11448
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>             Fix For: 3.0.0-alpha4
>
>         Attachments: HDFS-11448.001.patch, HDFS-11448.002.patch, HDFS-11448.003.patch
>
>
> HDFS-4025 adds support for sychronizing past log segments to JNs that missed them. But, as pointed out by [~jingzhao], if the segment download happens when an admin tries to rollback, it might fail ([see comment|https://issues.apache.org/jira/browse/HDFS-4025?focusedCommentId=15850633&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15850633]).



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org