码迷,mamicode.com
首页 > 数据库 > 详细

Operation category READ is not supported in state standby

时间:2017-04-25 14:55:08      阅读:137      评论:0      收藏:0      [点我收藏+]

标签:org.apache.hadoop.ipc.standbyexception

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

标签:org.apache.hadoop.ipc.standbyexception

原文地址:http://ictedu.blog.51cto.com/12825266/1919052

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!