hbase shell在创建表后冻结

uurity8g  于 2021-06-09  发布在  Hbase
关注(0)|答案(0)|浏览(256)

i-总结:
在完全分布式模式下测试hadoop(2.6.0)/hbase(1.0.1.1)时遇到了一个问题。问题是每次创建表时,查询都会冻结,并出现错误“handler.createtablehandler:failed”。空”。尽管如此,当我检查时,表已成功创建。
ii-设置和配置:
我有一个5台机器的简单设置;一个namenode/hmaster、一个resourcemanager/zkquorum和三个从属服务器,其中两个是区域服务器,而第三个是备份hmaster。
iii-问题
hadoop已经启动并运行,但是hbase在我创建一个表之后意外地冻结了。无论是通过hbase shell还是javaapi,行为都是相同的。尽管有冻结的部分,表是每次创建。
正如您在下面的最后一个日志条目中所注意到的,createtablehandler失败,消息为null。
我四处寻找与我相似的帖子,只找到2个。第一个没有答案,第二个建议是重新启动服务器。的确,我尝试过这个解决方案,但不幸的是,它对我不起作用。我尝试过的其他解决方案有:
清洁zk
hbase离线元修复
将hmaster分配给不同的机器。
有人知道这是怎么回事吗?
提前多谢了!

2015-07-08 20:43:36,645 INFO[B.defaultRpcServer.handler=3,queue=0,port=16020] master.HMaster: Client=hadoop//10.10.10.105 create '__10.10.10.113_Class_model0_gen0_1', {NAME => 'c', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME =>  'p', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 't', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}

2015-07-08 20:43:36,681 INFO [MASTER_TABLE_OPERATIONS-HDPNN:16020-0] handler.CreateTableHandler: Create table __10.10.10.113_Class_model0_gen0_1 

2015-07-08 20:43:36,716 INFO [RegionOpenAndInitThread->>__10.10.10.113_Class_model0_gen0_1-1] regionserver.HRegion: creating HRegion __10.10.10.113_Class_model0_gen0_1 HTD == '__10.10.10.113_Class_model0_gen0_1', {NAME => 'c', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 'p', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 't', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'ROW', REPLICATION_SCOPE => '0', VERSIONS => '1', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => 'FOREVER', KEEP_DELETED_CELLS => 'FALSE', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'} RootDir = hdfs://10.10.10.105:9000/hbase/.tmp Table name == __10.10.10.113_Class_model0_gen0_1

2015-07-08 20:43:36,727 INFO [RegionOpenAndInitThread-__10.10.10.113_Class_model0_gen0_1-1] regionserver.HRegion: Closed __10.10.10.113_Class_model0_gen0_1,,1436388216644.65865aede9173944a90889efed79b0a7.

2015-07-08 20:43:36,731 INFO [MASTER_TABLE_OPERATIONS-HDPNN:16020-0] hbase.MetaTableAccessor: Added 1
2015-07-08 20:43:36,739 WARN [MASTER_TABLE_OPERATIONS-HDPNN:16020-0] zookeeper.ZKTableStateManager: Moving table __10.10.10.113_Class_model0_gen0_1 state from ENABLING to ENABLED
2015-07-08 20:43:36,742 INFO [MASTER_TABLE_OPERATIONS-HDPNN:16020-0] handler.CreateTableHandler: failed. null

暂无答案!

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

相关问题