๋ฐ์ํ
$ wget https://archive.apache.org/dist/hbase/2.2.0/hbase-2.2.0-bin.tar.gz
$ tar xvzf hbase-2.2.0-bin.tar.gz
$ ln -s hbase-2.2.0-bin hbase
hbase ์ค์น ํ ์์ถ ํ๊ณ ์ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ๊ฑด๋ค.
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.master.port</name>
<value>60000</value>
</property>
<property>
<name>hbase.master.info.port</name>
<value>60010</value>
</property>
<property>
<name>hbase.regionserver.info.bindAddress</name>
<value>0.0.0.0</value>
</property>
<property>
<name>hbase.regionserver.port</name>
<value>60020</value>
</property>
<property>
<name>hbase.regionserver.info.port</name>
<value>60030</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>bdh2</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
<property>
<name>hbase.superuser</name>
<value>user_name</value>
</property>
<property>
<name>hbase.coprocessor.region.classes</name>
<value>org.apache.hadoop.hbase.security.access.AccessController</value>
</property>
<property>
<name>hbase.coprocessor.master.classes</name>
<value>org.apache.hadoop.hbase.security.access.AccessController</value>
</property>
<property>
<name>hbase.rpc.engine</name>
<value>org.apache.hadoop.hbase.ipc.SecureRpcEngine</value>
</property>
<property>
<name>hbase.security.authorization</name>
<value>true</value>
</property>
hbase-site.xml ์์ config ๊ฐ๋ค์ ์ค์ ํ๋ค.
$ bin/start-hbase.shโ
hbase bin ๋๋ ํฐ๋ฆฌ์์ hbase๋ฅผ ์คํํ๋ค.
$ jps
------------------------
11410 HMaster
jvm์ hbase๊ฐ ์คํ ์ค์ธ ๊ฒ์ ํ์ธํ ์ ์๋ค.
master ์๋ฒ์๋ HMaster๊ฐ ์ฌ๋ผ์ค๊ณ
slave ์๋ฒ์๋ HRegionserver๊ฐ ์ฌ๋ผ์จ๋ค.
728x90
๋ฐ์ํ
'BIGDATA > ํ๋ก์์ฝ์์คํ ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Apache Livy] ์ํ์น ๋ฆฌ๋น / Apache Livy standalone Install (0) | 2021.03.05 |
---|---|
[Apache Spark] Apache Spark standalone Install / ์ํ์น ์คํํฌ ์ค์น (0) | 2021.03.05 |
[Apache Hive] Apache Hive / ํ์ด๋ธ standalone Install (0) | 2021.03.05 |
[Apache Hadoop] Apache Hadoop / ํ๋ก ์ฑ๊ธ์๋ฒ ์ค์น 3๋ฒ์ (0) | 2021.03.05 |
ํ์ด๋ธ๋? (0) | 2021.03.05 |