1.下载hbase到服务器,解压移动到/usr/local/下

2.更改vim hbase-env.sh加入java工作目录

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64/

3.更改 hbase-site.xml

<configuration>
<!-- hbase存放数据目录 -->
<property>
<name>hbase.rootdir</name>
<value>file:///usr/local/hbase/tmp</value>
</property>

<!-- ZooKeeper数据文件路径 -->
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/data/soft/hbase-2.2.1/zookeeper</value>
</property>

<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
<description>
Controls whether HBase will check for stream capabilities (hflush/hsync).

Disable this if you intend to run on LocalFileSystem, denoted by a rootdir
with the 'file://' scheme, but be mindful of the NOTE below.

WARNING: Setting this to false blinds you to potential data loss and
inconsistent system state in the event of process and/or node failures. If
HBase is complaining of an inability to use hsync or hflush it's most
likely not a false positive.
</description>
</property>
</configuration>

4.启动服务。

启动服务:. /start-hbase.sh

访问服务:127.0.0.1:16010

5.涉及操作命令。

./hbase.sh shell

最新文章

  1. 简单说一个IOCP不好的地方
  2. golang的channel使用
  3. quartz学习
  4. 求CRC校验和的低位和高位的两种方式
  5. ajax执行完成后,再执行下面的代码的解决办法
  6. Web Component--01. 简介
  7. web.xml中配置固定数据
  8. 如何搭建Struts2环境
  9. crawler_http关闭连接
  10. Redis 安装与简单示例
  11. 认识&lt;meta&gt;
  12. Vue项目搭建完整剖析全过程
  13. 微信开发之使用java获取签名signature(贴源码,附工程)
  14. unity 快速创建小地图
  15. JQ倒计时,正计时
  16. 关于分页Pagination的使用
  17. 关于虚拟机下centOS版linux系统ifconfig只显示inet6ip,不显示inet4ip的问题
  18. hdu 1.3.1 FatMouse&#39; Trade
  19. query 中 radio选中小技巧
  20. 【Unity Shader】四、高光反射Specular Shader例子

热门文章

  1. WPF 入门教程DispatcherTimer计时器
  2. Unity一键制作预制体Prefab一键修改Prefab属性
  3. 判断python socket服务端有没有关闭的方法
  4. 使用ESP8266连接中文wifi
  5. Mac下Homebrew更新国内源brew update卡死(完美解决,网上都不完整)
  6. csdn 复制
  7. VUE使用axios数据请求时报错 TypeError: Cannot set property &#39;xxxx&#39; of undefined 的解决办法
  8. idea主题插件 -&gt;Atom Material File Icons
  9. Ubuntu 复制粘贴快捷键
  10. Vue 数组响应