hbase快速安装

1.下载hbase
http://labs.renren.com/apache-mirror//hbase/hbase-0.90.3/hbase-0.90.3.tar.gz

2.修改conf/hbase-site.xml,修改hbase.rootdir目录
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>file:// /home/zt/hbase</value>
  </property>
</configuration>

3.修改conf/hbase-env.sh,修改JAVA_HOME
# The java implementation to use.  Java 1.6 required.
# export JAVA_HOME=/usr/java/jdk1.6.0/
export JAVA_HOME=/home/zt/jdk1.6.0_26

4.启动hbase ./bin/start-hbase.sh














Hbase资料
http://hbase.apache.org/apidocs/

猜你喜欢

转载自uestzengting.iteye.com/blog/1128845