hbase pseudo install

本文介绍HBase 0.20.6版本在集群环境下的配置要点,包括hbase-site.xml文件中hbase.rootdir及hbase.zookeeper.quorum参数设置方法,启动顺序说明,以及启动后的进程检查方式和ZooKeeper状态验证。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

refer to 0.20.6 version

this is a little different from standalone install ,as hbase will use pesudo/real cluster hadoop .so some diferences are listed below:

A.hbase-site.xml

1)hbase.rootdir

u should set it with the hadoop  hdfs url,e.g. hdfs://url-to-hdfs:<port>/path-shared-by-regionserver

 

2)hbase.zookeeper.quorum

yes,we use a zk instance only managed by hbase,so set this to localhost is ok too.

 

B.starting sequence

1)start the hdfs and mapred daemons.note:as hbase will use MR to carry the row count etc,so mapred is a MUST also.

2)start-hbase

 

C.info after starting

1)use jps to check,it is differ to standalone:

8786 DataNode
9714 HMaster
9129 TaskTracker
8925 SecondaryNameNode
9656 HQuorumPeer
9000 JobTracker
8643 NameNode

 

the colorful pids are same with standalone,but additional ones are there also.


2) test zk by

echo ruok | nc localhost 2181

will return imok tip.

 

and the sequence of stoping is like this:

  stop-hbase

  stop-all   //hdfs and maped

 

good luck!

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值