Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1179246
  • 博文数量: 259
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 2518
  • 用 户 组: 普通用户
  • 注册时间: 2012-10-13 16:12
个人简介

科技改变世界,技术改变人生。

文章分类

全部博文(259)

分类: HADOOP

2015-05-18 16:36:29

今天测试HDFS群集active和standby切换,过程中出现了两个standby模式,运行hadoop命令出现如下报错,
15/05/18 16:31:12 INFO retry.RetryInvocationHandler: Exception while invoking getFileInfo of class ClientNamenodeProtocolTranslatorPB over Master1/192.168.19.194:9000 after 13 fail over attempts. Trying to fail over after sleeping for 14300ms.
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby

意思是standby模式不能提供写入,使用如下命令解决:
hdfs haadmin -transitionToActive --forcemanual Master1
让Master1变更为active模式。
阅读(4968) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~