HBase集群部署,创建表错误(Master is initializing),解决方案一则.
(2012-12-04 21:01:24)
标签:
hbasepleaseholdexcepmasterinitializinghbasehadoopit |
HBase版本: hbase-0.94.2
错误问题描述:
HBase集群部署完成,测试创建表,出现错误,操作描述如下:
hadoop@namenode>sh
hbase shell
HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.94.2, r1395367, Sun Oct
hbase(main):003:0> create 'tees','cf'
ERROR: org.apache.hadoop.hbase.PleaseHoldException: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
Here is some help for this command:
Create table; pass table name, a dictionary of specifications
per
column family, and optionally a dictionary of table
configuration.
Dictionaries are described below in the GENERAL NOTES
section.
Examples:
解决方案:
核对/etc/hosts配制如下
127.0.0.1
192.168.1.7
192.168.1.8
192.168.1.9
192.168.1.10
核对HBase namenode的regionservers配制如下:
master
slave1
slave2
slave3
核对HBase datanode的regionservers配制如下:
slave1
slave2
slave3