Operation category READ is not supported in state standby
Posted 大数据从业者
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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界面查看
以上是关于Operation category READ is not supported in state standby的主要内容,如果未能解决你的问题,请参考以下文章
Operation category READ is not supported in state standby
hadoop错误Operation category READ is not supported in state standby
hadoophadoop 报错 Operation category READ is not supported in state standby
Operation category READ is not supported in state standby
Namenode启动报错Operation category JOURNAL is not supported in state standby