hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Huang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8161) Both Namenodes are in standby State
Date Tue, 16 Aug 2016 00:41:20 GMT

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

Vincent Huang commented on HDFS-8161:
-------------------------------------

Hi,
Every time I restart NameNode due to the config change, I hit two standby state. A solution
is to delete /hadoop-ha/ha/ActiveBreadCrumb and /hadoop-ha/ha/ActiveStandbyElectorLock in
Zookeeper after restarting NameNode.

Maybe you can consider to add the specific zk node deleting in the restarting procedure.

> Both Namenodes are in standby State
> -----------------------------------
>
>                 Key: HDFS-8161
>                 URL: https://issues.apache.org/jira/browse/HDFS-8161
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: auto-failover
>    Affects Versions: 2.6.0
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: ACTIVEBreadcumb and StandbyElector.txt
>
>
> Suspected Scenario:
> ================
> Start cluster with three Nodes.
> Reboot Machine where ZKFC is not running..( Here Active Node ZKFC should open session
with this ZK )
> Now  ZKFC ( Active NN's ) session expire and try re-establish connection with another
ZK...Bythe time  ZKFC ( StndBy NN's ) will try to fence old active and create the active Breadcrumb
and Makes SNN to active state..
> But immediately it fence to standby state.. ( Here is the doubt)
> Hence both will be in standby state..



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

---------------------------------------------------------------------
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