zoukankan      html  css  js  c++  java
  • hbase_异常_05_End of File Exception between local host is: "rayner/127.0.1.1"; destination host is: "localhost":9000;

    一、异常信息

    java.io.EOFException: End of File Exception between local host is: "ubuntu/127.0.1.1"; destination host is: "localhost":9000; : java.io.EOFException; For more details see:  http://wiki.apache.org/hadoop/EOFException  
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)  
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)  
        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:792)  
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:765)  
        at org.apache.hadoop.ipc.Client.call(Client.java:1480)  
        at org.apache.hadoop.ipc.Client.call(Client.java:1407)  
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)  
        at com.sun.proxy.$Proxy14.sendHeartbeat(Unknown Source)  
        at org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB.sendHeartbeat(DatanodeProtocolClientSideTranslatorPB.java:153)  
        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.sendHeartBeat(BPServiceActor.java:553)  
        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.offerService(BPServiceActor.java:653)  
        at org.apache.hadoop.hdfs.server.datanode.BPServiceActor.run(BPServiceActor.java:823)  
        at java.lang.Thread.run(Thread.java:745)  
    Caused by: java.io.EOFException  
        at java.io.DataInputStream.readInt(DataInputStream.java:392)  
        at org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:1079)  
        at org.apache.hadoop.ipc.Client$Connection.run(Client.java:974)  

    二、异常原因

    三、异常解决

    查日志发现有如下错误:

    ERROR master.HMasterCommandLine: Master not running

    后来想到:每次出现这种情况的时候,都是先停止了hadoop,然后再停止Hbase,因为hbase是依赖于hadoop的,会不会是这个原因?

    于是重复启动和停止了几次hadoop和hbase之后,发现只有先停止hadoop再停止hbase才能正常关闭。

    最后过了一段时间,又重新按照正确的流程尝试了一下,貌似又可以正常了

    四、参考资料

    1.安装hbase后,启动服务正常,但停止服务时出现很诡异的现象

  • 相关阅读:
    现代操作系统:原理与实现配套实验ChCorelab02
    损失函数:交叉熵
    什么是 AWS IoT Greengrass?
    softmax与sigmoid的关系&最大熵与极大似然估计的关系
    AWS IoT Greengrass:连接器入门
    损失函数:最小二乘法与极大似然估计法
    AWS IoT Greengrass:将密钥部署到核心
    奇异值分解(SVD)
    积性函数前缀和个人总结
    AWS IoT Greengrass:核心软件的 OTA 更新
  • 原文地址:https://www.cnblogs.com/shirui/p/8625930.html
Copyright © 2011-2022 走看看