Hbase安装(简)
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
最新文章
- 简单说一个IOCP不好的地方
- golang的channel使用
- quartz学习
- 求CRC校验和的低位和高位的两种方式
- ajax执行完成后,再执行下面的代码的解决办法
- Web Component--01. 简介
- web.xml中配置固定数据
- 如何搭建Struts2环境
- crawler_http关闭连接
- Redis 安装与简单示例
- 认识<;meta>;
- Vue项目搭建完整剖析全过程
- 微信开发之使用java获取签名signature(贴源码,附工程)
- unity 快速创建小地图
- JQ倒计时,正计时
- 关于分页Pagination的使用
- 关于虚拟机下centOS版linux系统ifconfig只显示inet6ip,不显示inet4ip的问题
- hdu 1.3.1 FatMouse&#39; Trade
- query 中 radio选中小技巧
- 【Unity Shader】四、高光反射Specular Shader例子
热门文章
- WPF 入门教程DispatcherTimer计时器
- Unity一键制作预制体Prefab一键修改Prefab属性
- 判断python socket服务端有没有关闭的方法
- 使用ESP8266连接中文wifi
- Mac下Homebrew更新国内源brew update卡死(完美解决,网上都不完整)
- csdn 复制
- VUE使用axios数据请求时报错 TypeError: Cannot set property &#39;xxxx&#39; of undefined 的解决办法
- idea主题插件 ->;Atom Material File Icons
- Ubuntu 复制粘贴快捷键
- Vue 数组响应