hbase创建表错误ERROR_ Failed after attempts=46, exceptions_

hbase创建表错误ERROR: Failed after attempts=46, exceptions:

详细错误信息

hbase(main):002:0> create 'boot','testfamily'

ERROR: Failed after attempts=46, exceptions:
Mon Aug 24 10:37:40 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:40 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:40 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:41 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:41 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:42 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:44 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:48 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:37:58 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:38:08 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:38:18 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:38:28 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:38:48 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:39:09 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:39:29 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:39:49 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:40:09 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:40:29 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:40:49 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:41:09 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:41:29 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:41:49 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:42:09 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:42:29 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:42:49 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:43:10 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:43:30 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:43:50 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:44:10 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:44:30 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:44:50 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:45:10 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:45:30 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:45:51 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:46:11 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:46:31 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:46:51 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:47:11 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:47:31 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:47:51 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:48:11 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:48:32 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:48:52 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:49:12 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:49:32 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
Mon Aug 24 10:49:52 CST 2020, RpcRetryingCaller{globalStartTime=1598236660462, pause=100, maxAttempts=46}, java.net.ConnectException: Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020

Creates a table. Pass a table name, and a set of column family
specifications (at least one), and, optionally, table configuration.
Column specification can be a simple string (name), or a dictionary
(dictionaries are described below in main help output), necessarily
including NAME attribute.
Examples:

Create a table with namespace=ns1 and table qualifier=t1
  hbase> create 'ns1:t1', {NAME => 'f1', VERSIONS => 5}

Create a table with namespace=default and table qualifier=t1
  hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
  hbase> # The above in shorthand would be the following:
  hbase> create 't1', 'f1', 'f2', 'f3'
  hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, BLOCKCACHE => true}
  hbase> create 't1', {NAME => 'f1', CONFIGURATION => {'hbase.hstore.blockingStoreFiles' => '10'}}
  hbase> create 't1', {NAME => 'f1', IS_MOB => true, MOB_THRESHOLD => 1000000, MOB_COMPACT_PARTITION_POLICY => 'weekly'}

Table configuration options can be put at the end.
Examples:

  hbase> create 'ns1:t1', 'f1', SPLITS => ['10', '20', '30', '40']
  hbase> create 't1', 'f1', SPLITS => ['10', '20', '30', '40']
  hbase> create 't1', 'f1', SPLITS_FILE => 'splits.txt', OWNER => 'johndoe'
  hbase> create 't1', {NAME => 'f1', VERSIONS => 5}, METADATA => { 'mykey' => 'myvalue' }
  hbase> # Optionally pre-split the table into NUMREGIONS, using
  hbase> # SPLITALGO ("HexStringSplit", "UniformSplit" or classname)
  hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit'}
  hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => 'HexStringSplit', REGION_REPLICATION => 2, CONFIGURATION => {'hbase.hregion.scan.loadColumnFamiliesOnDemand' => 'true'}}
  hbase> create 't1', {NAME => 'f1', DFS_REPLICATION => 1}

You can also keep around a reference to the created table:

  hbase> t1 = create 't1', 'f1'

Which gives you a reference to the table named 't1', on which you can then
call methods.

Took 734.0538 seconds

问题分析

首先,我确认我创建表的命令没有错。create ‘boot’,'testfamily’
然后我们对错误日志进行分析,日志中有太多重复异常,我们提取出不同的异常逐一分析。

ERROR: Failed after attempts=46, exceptions:
java.net.ConnectException: 
	Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 
    failed on connection exception: 
	org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: 
	syscall:getsockopt(..) failed: Connection refused: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
        
org.apache.hadoop.hbase.ipc.FailedServerException: 
	Call to iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 
    failed on local exception: 
	org.apache.hadoop.hbase.ipc.FailedServerException: 
	This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020
       

我们可以看到This server is in the failed servers list: iZ2ze55shrycg6cynm3qifZ/172.24.53.10:16020 他说此服务器在故障服务器列表中,连接失败。
此时我决定重启hbase 希望问题可以得到解决。
停止 hbase => stop-hbase.sh
再次启动 hbase => start-hbase.sh
此时进入hbase 重新创建表 create ‘boot’,‘testfamily’ 完美解决

hbase(main):002:0> create 'boot','testfamily'
Created table boot
Took 3.1494 seconds                                                                                                                   
=> Hbase::Table - boot
hbase(main):003:0> list
TABLE                                                                                                                                 
boot                                                                                                                                  
hbase_tab                                                                                                                             
test_tab                                                                                                                              
test_tow                                                                                                                              
4 row(s)
Took 0.0668 seconds 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值