首页 > 代码库 > Operation category READ is not supported in state standby

Operation category READ is not supported in state standby

RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby 


两个namenode都是standby

在一台主机上执行:

hdfs haadmin -transitionToActive --forcemanual nn1 

再访问,一台active 一台standy

Operation category READ is not supported in state standby