zoukankan      html  css  js  c++  java
  • hbase安装

    wget https://mirrors.tuna.tsinghua.edu.cn/apache/hbase/2.1.2/hbase-2.1.2-bin.tar.gz

    conf/hbase-env.sh中加入

    export JAVA_HOME=/language/jdk1.8.0_181
    export HBASE_CLASSPATH=/usr/local/hbase/conf
    export HBASE_MANAGES_ZK=true

    HBASE_MANAGES_ZK: 是否使用独立的,不被hbase管理的zk

    # cat conf/hbase-site.xml
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
    <configuration>
     <property>
        <name>hbase.rootdir</name>
        <value>hdfs://localhost:8020/hbase</value>
     </property>
     <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
     </property>
     <property>
        <name>hbase.zookeeper.quorum</name>
        <value>127.0.0.1</value>
     </property>
     <property>
        <name>hbase.temp.dir</name>
        <value>/tmp/hbase</value>
     </property>
     <property>
        <name>hbase.zookeeper.property.dataDir</name>
        <value>/data/hbase/zk</value>
     </property>
     <property>
        <name>hbase.master.info.port</name>
        <value>60010</value>
     </property>
    </configuration>



  • 相关阅读:
    [CF997E] Good SubSegment
    CF916E
    BZOJ2006 超级钢琴
    BZOJ4571
    凸包总结
    树形DP入门
    bzoj4300 绝世好题(位运算+DP)
    bzoj4552 [Tjoi2016&Heoi2016]排序 (线段树+二分)
    SP1716 GSS3
    Noip2009 Hankson 的趣味题 (简单数学)
  • 原文地址:https://www.cnblogs.com/mhc-fly/p/10286856.html
Copyright © 2011-2022 走看看