zoukankan      html  css  js  c++  java
  • Operation category READ is not supported in state standby

     

    Namenode 开启HA之后,由于zookeeper异常,出现脑裂现象

    执行

    $./hdfs haadmin -getServiceState nn1                                                                                                                                                 

    standby                                                               

    $./hdfs haadmin -getServiceState nn2

    standby   

    两个互为HA的namenode节点均处于standby 状态,随后执行

    $/hdfs haadmin -transitionToActive --forcemanual nn1

    强行手工将namenode1状态转换为active

    PS: serverID即namenodeID,可以访问http://namenodeip:50070界面查看

  • 相关阅读:
    发光二极管
    续流二极管作用及工作原理
    python backtrace注意事项
    docker tips
    direct stdin and stdout
    python skill
    mysql comments
    python dict
    python list and tuple
    Python library
  • 原文地址:https://www.cnblogs.com/felixzh/p/9676696.html
Copyright © 2011-2022 走看看