zoukankan      html  css  js  c++  java
  • retry.RetryInvocationHandler (RetryInvocationHandler.java:invoke(140))

    报错信息如下

    2017-12-20 12:29:09,161 INFO  [main]: retry.RetryInvocationHandler (RetryInvocationHandler.java:invoke(140)) 
    - Exception while invoking getFileInfo of class ClientNamenodeProtocolTranslatorPB over bdata236/192.168.1.236:9000
    after 3 fail over attempts. Trying to fail over after sleeping for 5584ms. org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby at org.apache.hadoop.hdfs.server.namenode.ha.StandbyState.checkOperation(StandbyState.java:87) at org.apache.hadoop.hdfs.server.namenode.NameNode$NameNodeHAContext.checkOperation(NameNode.java:1719)
    • 我出现这个问题的原因是两个namenode都是standby状态,发现是因为zkfc没有起来,启动zkfc就OK了。

      进入hadoop/bin目录下

     ./hadoop-daemon.sh start zkfc
    • 还有可能是因为防火墙问题,关闭即可
    service iptables stop  (centos6)
    
    systemctl stop firewalld(centos7)
  • 相关阅读:
    数据流图和数据流程图的定义与组成元素
    敏捷开发3种角色
    WBS
    开发流程
    结对编程
    笔记
    登录注册界面维护2----注册界面进行Toast提示
    登录注册界面修改错误
    听说
    “学习链接篇”
  • 原文地址:https://www.cnblogs.com/EnzoDin/p/8074457.html
Copyright © 2011-2022 走看看