zoukankan      html  css  js  c++  java
  • 安装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
    

      

     
  • 相关阅读:
    JSP—简介
    Dream
    树状数组模板
    夜未央Test1题解
    夜未央Test1
    并查集模板
    给即将面临Noip的二班同学
    USACO chapter1
    二叉堆模板
    线段树模板
  • 原文地址:https://www.cnblogs.com/yoyogis/p/4268901.html
Copyright © 2011-2022 走看看