• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

littlesuccess

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

HBASE setup

1. Download HBASE from hbase.apache.org and install it to /home/shgong/hbase

2. Setup java home
2.1. Change working directory to /home/shgong/hbase/conf/
2.2. Edit the hbase-env.sh

# export JAVA_HOME=/usr/java/jdk1.6.0/
export JAVA_HOME=/home/shgong/jdk/

3. Setup hbase data file directory
3.1. Make a dir

mkdir -p /home/shgong/hbase/var/hbase

3.2. Change the hbase-site.xml setting

<property>
<name>hbase.rootdir</name>
<value>file:///home/shgong/hbase/var/hbase</value>
</property>

4. Stare Hbase and check

cd /home/shgong/hbase/bin
start-hbase.sh

posted on 2012-09-19 22:30  littlesuccess  阅读(212)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3