得意淡然,失意坦然;喜而不狂,忧而不伤。

HBase单机版安装配置信息

数据仓库 admin 44次浏览 已收录 0个评论 扫描二维码

官方安装指南: http://hbase.apache.org/book.html#quickstart

vim  /conf/hbase-site.xml

<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>file:///data/hbase</value>
  </property>
  <property>
    <name>hbase.zookeeper.property.dataDir</name>
    <value>/data/zookeeper</value> 
  </property>
  <property>
    <name>hbase.zookeeper.property.clientPort</name>
    <value>2182</value>   (默认2181端口, 如果已经占用可以改为2182)
  </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>

 

vim conf/hbase-env.sh

 

export HBASE_MANAGES_ZK=false

export JAVA_HOME=/usr/local/jdk1.8.0_191

 

正常启动


pitata技术乐园 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明HBase单机版安装配置信息
喜欢 (1)
[103531948@qq.com]
分享 (0)
发表我的评论
取消评论
表情 斜体

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址