StandbyException): Operation category WRITE is not supported in state standby. 解决方案
文章目录故障现象解决方案故障现象INFO[main] retry.RetryInvocationHandler (RetryInvocationHandler.java:log(411)) - org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category WRITE
·
故障现象
INFO [main] retry.RetryInvocationHandler (RetryInvocationHandler.java:log(411)) - org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category WRITE is not supported in state standby.
解决方案
把 那个 active 修改成 standby状态
hdfs haadmin -transitionToStandby --forcemanual nn2
把 原来的那个 active 为 active 状态
hdfs haadmin -transitionToActive --forcemanual nn1
查看状态
hdfs haadmin -getServiceState nn1
更多推荐
已为社区贡献6条内容
所有评论(0)