安裝hbase-0.98.9-hadoop2


1. download http://124.202.164.13/files/1244000005C563FC/www.eu.apache.org/dist/hbase/stable/hbase-0.98.9-hadoop2-bin.tar.gz

2. copy to /opt

3. cp /opt

    tar -zxvf hbase-0.98.9-hadoop2-bin.tar.gz

4. edit conf/hbase-site.xml

 

<configuration>
      <property>
        <name>hbase.rootdir</name>
        <!--value>file:///opt/hbase/testdata</value-->
        <value>hdfs://localhost:9000/hbase</value>
      </property>
      <property>
       <name>hbase.zookeeper.property.dataDir</name>
       <value>/opt/hbase/testdata/zookeeper</value>
      </property>
      <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
      </property>
</configuration>

  

5. edit conf/hbase-env.sh

export JAVA_HOME=/opt/jdk17

6. start hbase

bin/start-hbase.sh

  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM