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 "Hanisha Koneru (JIRA)" <ji...@apache.org> on 2017/04/21 00:24:04 UTC

[jira] [Updated] (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:all-tabpanel ]

Hanisha Koneru updated HDFS-11448:
----------------------------------
    Attachment: HDFS-11448.001.patch

Patch v01 adds support for JN sync during upgrade/ rollback.
Instead of downloading the log segments to _current_ directory, we download them to a temporary directory (_current.tmp_). Once the download is complete, we atomically move the log segment to current directory. 

> 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
>         Attachments: HDFS-11448.001.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
(v6.3.15#6346)

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