1.解压

tar -zxvf hbase-1.0.0-bin.tar.gz
sudo mv hbase-1.0.0 /opt/hbase
cd /opt
sudo chmod -R 775 hbase

2.修改环境变量
sudo vim /opt/hbase/conf/hbase-env.sh
修改$JAVA_HOME为jdk安装目录

3.修改hbase-site.xml
添加:

<configuration>
        <property>
                <name>hbase.rootdir</name>
                <value>hdfs://localhost:9000/hbase</value>
        </property>
        <property>
                <name>hbase.cluster.distributed</name>
                <value>true</value>
        </property>
</configuration>

4.启动hbase
start-hbase.sh

5.进入hbase shell
hbase shell

6.查看进程
通过jps,应该会看到一共有9个进程,分别如下:

3616 NodeManager
3008 NameNode
6945 HQuorumPeer
7010 HMaster
3302 SecondaryNameNode
3128 DataNode
7128 HRegionServer
3496 ResourceManager
7209 Jps

最新文章

  1. Consul 服务注册与服务发现
  2. TFS Express backup and restore
  3. GitLab版本管理
  4. iOS HTML 字符串中的图片 自适应大小
  5. InputStream复用,mark和reset
  6. 20150604_Andriod 窗体PopupWindow
  7. python 加密解密
  8. Version of SQLite used in Android?
  9. c++STL之sort排序
  10. 基础总结篇之五:BroadcastReceiver应用具体解释
  11. Animate.css让添加CSS动画像喝水一样容易
  12. ASP.NET Core 源码学习之 Logging[4]:FileProvider
  13. django模版中配置和使用静态文件方法
  14. SpringBoot(三):springboot启动参数
  15. SQL Server AlwaysON从入门到进阶(2)——存储
  16. ionic3 导航的应用(页面跳转与参数传递)
  17. day14,函数的使用方法:生成器表达式,生成器函数
  18. jQuery抽奖插件 jQueryRotate
  19. VC++中如何将字符串转换成整型数字
  20. iOS字符串处理

热门文章

  1. IDEA更换背景颜色与字体
  2. Myeclipse异常
  3. Android 开发 SurfaceView 总结
  4. Window逆向基础之逆向工程介绍
  5. css和js处理隔行换色的问题
  6. MySQL转译
  7. DE1-LINUX运行
  8. Bayer Pattern
  9. 2.sleep和wait的区别:
  10. backward的gradient参数的作用