hbase连接在随机时间延迟后被拒绝

xghobddn  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(145)

我已经成功安装了hadoop单节点和hbase。我正在使用java代理连接到hbase。在一个随机的时间段之后,hbase停止工作,java代理给出以下错误消息。
调用异常,tries=7,retries=7,started=8321毫秒前,cancelled=false,msg=call to db-2.c.-dev.internal/xx.xx.0.21:16201在连接异常时失败:org.apache.hbase.thirdparty.io.netty.channel.abstractchannel$annotatedConnectionException:连接被拒绝:db-2.c.-dev.internal/xx.xx.0.21:16201,details=row',00000000001:1553904000000999999999999“在表上”hbase:meta'在区域=hbase:meta,,1.1588230740,主机名=db-2.c.-dev.internal,162011553683263844,序号=-1
这是hbase和zookeeper日志
hbase-hduser-regionserver-db-2.log
[main]zookeeper.zookeepermain:处理删除2019-03-30 02:11:44089调试main sendthread]zookeeper.clientcnxn:正在阅读回复sessionid:0x169bd98c099006e,数据包::clientpath:null serverpath:空finished:false header::1,2 replyheader::1300964,0请求::'/hbase/rs/db-2.c.stl-cardio-dev.internal%2c16201%2c1553683263844,-1响应::null
hbase-hduser-zookeeper-db-2.log
服务器.finalrequestprocessor:sessionid:0x169bd98c099004a type:获取子对象cxid:0x28e3ad zxid:0xFFFFFFFFFFFEtxntype:unknown reqpath:/hbase/splitwal
我的hbase-site.xml文件如下

<configuration>
        //Here you have to set the path where you want HBase to store its files.
        <property>
           <name>hbase.rootdir</name>
           <value>hdfs://localhost:9000/hbase</value>
        </property>
        <property>
           <name>hbase.zookeeper.quorum</name>
           <value>localhost</value>
        </property>
       //Here you have to set the path where you want HBase to store its built in zookeeper  files.
        <property>
           <name>hbase.zookeeper.property.dataDir</name>
           <value>${hbase.tmp.dir}/zookeeper</value>
        </property>
        <property>
            <name>hbase.cluster.distributed</name>
            <value>true</value>
        </property>
        <property>
           <name>hbase.zookeeper.property.clientPort</name>
           <value>2181</value>
        </property>
</configuration>

当我重新启动hbase时,它将重新开始工作,并在几天后停止工作。我想知道怎么解决这个问题。
谢谢。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题