六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 40|回复: 0

hbase pseudo install

[复制链接]

升级  24.67%

23

主题

23

主题

23

主题

秀才

Rank: 2

积分
87
 楼主| 发表于 2013-1-26 13:59:40 | 显示全部楼层 |阅读模式
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!
 
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表