Skip to content

필사 모드: HBase 3.0 Install on Ubuntu (Non Secure)

English
0%
정확도 0%
💡 왼쪽 원문을 읽으면서 오른쪽에 따라 써보세요. Tab 키로 힌트를 받을 수 있습니다.
원문 렌더가 준비되기 전까지 텍스트 가이드로 표시합니다.

Overview

Following the HBase build instructions, I will share the cluster mode installation method.

Zookeeper

Zookeeper Binary Download

Find the desired version of Zookeeper from the [official Zookeeper download page](https://zookeeper.apache.org/releases.html#download).

wget https://dlcdn.apache.org/zookeeper/zookeeper-3.8.0/apache-zookeeper-3.8.0-bin.tar.gz

tar -zxvf apache-zookeeper-3.8.0-bin.tar.gz

sudo cp -r apache-zookeeper-3.8.0-bin /usr/local/zookeeper

Zookeeper conf

tickTime=2000

initLimit=10

syncLimit=5

dataDir=/var/zookeeper

clientPort=2181

server.1=ubuntu01:2888:3888

server.2=ubuntu02:2888:3888

server.3=ubuntu03:2888:3888

Creating the myid file

Create a file named myid under the /var/zookeeper directory, and write a unique number for each Zookeeper server. Typically, you write 1 for node 1, 2 for node 2, and 3 for node 3.

mkdir /var/zookeeper

vim /var/zookeeper/myid

HBase

HBase binary install

Find the desired binary version from [hbase download versions](https://hbase.apache.org/downloads.html).

wget https://www.apache.org/dyn/closer.lua/hbase/3.0.0-alpha-3/hbase-3.0.0-alpha-3-bin.tar.gz

tar -zxvf hbase-3.0.0-alpha-3-bin.tar.gz

sudo cp -r hbase-3.0.0-alpha-3 /usr/local/hbase

HBase configuration

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

export HBASE_CLASSPATH=${HADOOP_CONF_DIR}

export HBASE_MANAGES_ZK=false

ubuntu02

ubuntu03

ubuntu04

ubuntu05

ubuntu06

Starting Zookeeper

Start the Zookeeper server on ubuntu01, ubuntu02, and ubuntu03 using the following command.

zookeeper/bin/zkServer.sh start

Starting HBase

When you run the following command, HMaster will start on the master node ubuntu01, and regionservers will start on the remaining nodes ubuntu02 through ubuntu06.

start-hbase.sh

When you enter the `jps` command, the master node will display something like the following. The Zookeeper process is displayed as `QuorumPeerMain`.

1693816 ResourceManager

1702488 SecondaryNameNode

1787785 Jps

1771793 QuorumPeerMain

1781957 HMaster

1701958 NameNode

When you enter `jps` on a worker node, it displays the following.

1785194 HRegionServer

1703882 DataNode

1786480 Jps

1704373 NodeManager

HBase Web UI Verification

You can check the status of HMaster and region servers by accessing `http://ubuntu01:16010`.

Quiz

Q1: What is the main topic covered in "HBase 3.0 Install on Ubuntu (Non Secure)"?

Learn how to install HBase 3.0 (Non Secure) version on Ubuntu.

Find the desired version of Zookeeper from the official Zookeeper download page.

Create a file named myid under the /var/zookeeper directory, and write a unique number for each

Zookeeper server. Typically, you write 1 for node 1, 2 for node 2, and 3 for node 3. HBase

Find the desired binary version from hbase download versions.

Starting Zookeeper Start the Zookeeper server on ubuntu01, ubuntu02, and ubuntu03 using the

following command. Starting HBase When you run the following command, HMaster will start on the

master node ubuntu01, and regionservers will start on the remaining nodes ubuntu02 through u...

현재 단락 (1/54)

Following the HBase build instructions, I will share the cluster mode installation method.

작성 글자: 0원문 글자: 2,820작성 단락: 0/54