zoukankan      html  css  js  c++  java
  • HBase集群启动后有机器regionserver运行在localhost的问题

    2020-03-18 12:31:24,827 WARN [regionserver/localhost/127.0.0.1:60020] regionserver.HRegionServer: reportForDuty failed; sleeping and then retrying.
    2020-03-18 12:31:27,830 INFO [regionserver/localhost/127.0.0.1:60020] regionserver.HRegionServer: reportForDuty to master=supershuai-virtualbox,60000,1584504980846 with port=60020, startcode=1584503081106
    2020-03-18 12:31:27,831 WARN [regionserver/localhost/127.0.0.1:60020] regionserver.HRegionServer: error telling master we are up
    com.google.protobuf.ServiceException: java.net.SocketException: 无效的参数
    at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:240)
    at org.apache.hadoop.hbase.ipc.AbstractRpcClient(BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:336) at org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos)RegionServerStatusService$BlockingStub.regionServerStartup(RegionServerStatusProtos.java:8982)
    at org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:2357)
    at org.apache.hadoop.hbase.regionserver.HRegionServer.reportForDuty(HRegionServer.java:2357)
    at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:926)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.net.SocketException: 无效的参数
    at sun.nio.ch.Net.connect0(Native Method)
    at sun.nio.ch.Net.connect(Net.java:454)
    at sun.nio.ch.Net.connect(Net.java:446)

    先说以下我的版本hbase-1.2.0-cdh5.15.1 ,集群启动后查看监控显示有机器没有启动Hbase ,但是我在这台机器查看到了regionserver服务,接下来我通过log日志锁定问题在host上的问题,在我检查/etc/hosts文件后并没有发现问题,和其它能启动的机器的host的配置格式一样,后来尝试了很多中方法,终于在我把hosts文件中的127.0.0.1 localhost删除后问题解决。

  • 相关阅读:
    MySQL概述
    Seleniumselenium基础入门
    MySQL数据库的安装与使用
    元素定位_id
    Selenium浏览器的前进、后退、刷新
    元素定位_tag_name
    Selenium浏览器操作_窗口大小设置
    元素定位_name
    搭建maven服务器(repository)
    使用dos命令生成目录树
  • 原文地址:https://www.cnblogs.com/supershuai/p/12517565.html
Copyright © 2011-2022 走看看