hive在对表格进行操作的时候,出现如下报错:

2020-06-01 11:54:43,987 INFO  [0da57ad2-c8b1-4edb-a38a-22821eed213f main] zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x53e4a19e connecting to ZooKeeper ensemble=Desktop:2181
2020-06-01 11:54:44,159 INFO  [0da57ad2-c8b1-4edb-a38a-22821eed213f main] beanutils.FluentPropertyBeanIntrospector: Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2020-06-01 11:54:44,249 INFO  [0da57ad2-c8b1-4edb-a38a-22821eed213f main] metrics.MetricRegistries: Loaded MetricRegistries class org.apache.hadoop.hbase.metrics.impl.MetricRegistriesImpl
2020-06-01 11:54:44,503 INFO  [0da57ad2-c8b1-4edb-a38a-22821eed213f main] mapreduce.RegionSizeCalculator: Calculating region sizes for table "index1".
2020-06-01 11:55:23,161 INFO  [hconnection-0x53e4a19e-shared-pool3-t1] client.RpcRetryingCallerImpl: Call exception, tries=10, maxAttempts=36, started=38621 ms ago, cancelled=false, msg=Call to Laptop/192.168.0.102:16020 failed on connection exception: org.apache.hadoop.hbase.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: 連線被拒絕: Laptop/192.168.0.102:16020 row 'index1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=laptop,16020,1590978938015, seqNum=0
2020-06-01 11:55:33,204 INFO  [hconnection-0x53e4a19e-shared-pool3-t1] client.RpcRetryingCallerImpl: Call exception, tries=11, maxAttempts=36, started=48664 ms ago, cancelled=false, msg=Call to Laptop/192.168.0.102:16020 failed on connection exception: org.apache.hadoop.hbase.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: 連線被拒絕: Laptop/192.168.0.102:16020 row 'index1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=laptop,16020,1590978938015, seqNum=0
2020-06-01 11:55:33,212 INFO  [0da57ad2-c8b1-4edb-a38a-22821eed213f main] client.ConnectionImplementation: Closing zookeeper sessionid=0x100000b7f4c0008
Failed with exception java.io.IOException:org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
Mon Jun 01 11:55:33 CST 2020, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68822: Call to Laptop/192.168.0.102:16020 failed on connection exception: org.apache.hadoop.hbase.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: 連線被拒絕: Laptop/192.168.0.102:16020 row 'index1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=laptop,16020,1590978938015, seqNum=0

解决办法:

启动Zookeeper集群

启动Hbase集群

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐