hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14201) Ability to disallow safemode NN to become active
Date Mon, 14 Jan 2019 11:26:04 GMT

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

Steve Loughran commented on HDFS-14201:
---------------------------------------

Yetus & github PRs is really close to shipping, will need Hadoop to move up to yetus 0.9.0
and then the jenkins builds set up with the github a/c I've created for this.

See: https://github.com/apache/hadoop/pull/459 as an example of this

> Ability to disallow safemode NN to become active
> ------------------------------------------------
>
>                 Key: HDFS-14201
>                 URL: https://issues.apache.org/jira/browse/HDFS-14201
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: auto-failover
>    Affects Versions: 3.1.1, 2.9.2
>            Reporter: Xiao Liang
>            Assignee: Xiao Liang
>            Priority: Major
>
> Currently with HA, Namenode in safemode can be possibly selected as active, for availability
of both read and write, Namenodes not in safemode are better choices to become active though.
> It can take tens of minutes for a cold started Namenode to get out of safemode, especially
when there are large number of files and blocks in HDFS, that means if a Namenode in safemode
become active, the cluster will be not fully functioning for quite a while, even if it can
while there is some Namenode not in safemode.
> The proposal here is to add an option, to allow Namenode to report itself as UNHEALTHY
to ZKFC, if it's in safemode, so as to only allow fully functioning Namenode to become active, improving the
general availability of the cluster.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message