Hadoop集群安装Hbase实验环境搭建(8)

【错误】13/04/27 05:47:21ERROR client.HConnectionManager$HConnectionImplementation: Check the valueconfigured in 'zookeeper.znode.parent'. There could be a mismatch with the oneconfigured in the master.

去掉Hadoop的安全模式

hduser@master:/usr/local/hadoop$ bin/hadoopdfsadmin -safemode leave
Warning: $HADOOP_HOME is deprecated.

Safe mode is OFF

【解决方法】:

检验HBase安装完成:

hbase(main):003:0> create'member','member_id','address','info'
0 row(s) in 1.6400 seconds


hbase(main):004:0> list
TABLE
member
1 row(s) in 0.0730 seconds

hbase(main):006:0* describe 'member'
DESCRIPTION ENABLED
{NAME => 'member', FAMILIES => [{NAME => 'address',true
DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER =>'NON
E', REPLICATION_SCOPE => '0', VERSIONS => '3', COMP
RESSION => 'NONE', MIN_VERSIONS => '0', TTL =>'214
7483647', KEEP_DELETED_CELLS => 'false',BLOCKSIZE
=> '65536', IN_MEMORY => 'false', ENCODE_ON_DISK=>
'true', BLOCKCACHE => 'true'}, {NAME => 'info',DA
TA_BLOCK_ENCODING => 'NONE', BLOOMFILTER =>'NONE',
REPLICATION_SCOPE => '0', VERSIONS => '3',COMPRES
SION => 'NONE', MIN_VERSIONS => '0', TTL =>'214748
3647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE=>
'65536', IN_MEMORY => 'false', ENCODE_ON_DISK =>'t
rue', BLOCKCACHE => 'true'}, {NAME =>'member_id',
DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER =>'NONE
', REPLICATION_SCOPE => '0', VERSIONS => '3',COMPR
ESSION => 'NONE', MIN_VERSIONS => '0', TTL => '2147
483647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE=
> '65536', IN_MEMORY => 'false', ENCODE_ON_DISK=>
'true', BLOCKCACHE =>'true'}]}
1 row(s) in 0.2170 seconds

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/4ce53d8ee7a2c55a2709567d6625af3d.html