hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5384) Add a new TransitionState to indicate NN is in transition from standby state to active state
Date Thu, 17 Oct 2013 22:25:42 GMT

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

Jing Zhao updated HDFS-5384:
----------------------------

    Attachment: HDFS-5384.000.patch

Initial patch just to demonstrate the idea.

> Add a new TransitionState to indicate NN is in transition from standby state to active
state
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5384
>                 URL: https://issues.apache.org/jira/browse/HDFS-5384
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ha, namenode
>    Affects Versions: 3.0.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-5384.000.patch
>
>
> Currently in HA setup, when a NameNode is transitioning from standby to active, the current
code first sets the state of the NN to Active, then starts the active service, during which
the NN still needs to tail the remaining editlog and may not be able to serve certain requests
as expected (such as HDFS-5322). 
> So it may be necessary to define a transition state to indicate that NN has left the
previous state and is in transitioning to the next state.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message