I-摘要:
我在完全分布式模式下测试Hadoop(2.6.0)/ Hbase(1.0.1.1)时遇到了问题。问题是每次我创建一个表时,查询会冻结,错误" handler.CreateTableHandler:失败。空&#34 ;.尽管如此,当我检查时,表格已成功创建。
II-设置和配置:
我退出了5台机器的简单设置;一个namenode / HMaster,一个resourceManager / ZKQuorum和三个slave,其中两个是区域服务器,而第三个是备用HMaster。
III- Porblem
Hadoop启动并运行,但在我创建一个表后,HBase出人意料地冻结了。通过HBase shell或Java API执行此操作的行为保持不变。尽管有冷冻的部分,但桌子每次都是创造出来的。
正如您在下面的最后一个日志条目中注意到的那样,createTableHandler失败并且msg为null。
我四处寻找与我类似的帖子,我只发现2. first一个没有答案,在second中,建议重启服务器。 实际上,我尝试过这个解决方案,但遗憾的是它并没有为我工作。 我试过的其他解决方案是:
有人知道这可能来自哪里吗?
提前非常感谢你!
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