Published on

HBase Build 방법 (Ubuntu 22.04)

Authors
  • Name
    Twitter

Overview

HBase를 Build하는 방법을 알아본다.

build 준비

sudo apt install maven
sudo apt install openjdk-8-jdk

Build HBase

git clone https://github.com/apache/hbase
cd hbase
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64  mvn clean install -DskipTests assembly:single

Binary Check

hbase/hbase-assembly/target 폴더에 보면, hbase를 빌드하여 나온 결과물인 tar.gz 파일을 확인할 수 있다.

hbase/hbase-assembly/target
hbase/hbase-assembly/target$ ls
archive-tmp  dependency-maven-plugin-markers          hbase-3.0.0-alpha-4-SNAPSHOT-client-bin.tar.gz  NOTICE.aggregate
dependency   hbase-3.0.0-alpha-4-SNAPSHOT-bin.tar.gz  maven-shared-archive-resources                  supplemental-models.xml