Install phoenix under cdh version hbase

Note: The premise is to install the cdh version of hbase

Step 1: Go to the official website to download phoenix,
Baidu apache phoenix, and find download under the official website

Insert picture description hereClick download to
Insert picture description hereselect a version, click bin

Insert picture description hereCopy the above link
and execute it in the /opt directory on any machine

wget https://mirrors.tuna.tsinghua.edu.cn/apache/phoenix/apache-phoenix-5.0.0-HBase-2.0/bin/apache-phoenix-5.0.0-HBase-2.0-bin.tar.gz

Unzip the compressed package

tar -zxvf apache-phoenix-5.0.0-HBase-2.0-bin.tar.gz

Then copy the installation package to each machine

scp phoenix-5.0.0-HBase-2.0-server.jar cdh1:/opt/cloudera/parcels/CDH/lib/hbase/lib

After restarting hbase,
enter two commands to enter the phoenix interface

export HBASE_CONF_DIR=/etc/hbase/conf
python2.7 bin/sqlline.py 192.168.248.102

If you don’t know the big data cluster installation of the cdh version, you can refer to the record of building cloudermanager written by me

Link: https://blog.csdn.net/qq_38220334/article/details/108897688?spm=1001.2014.3001.5502 .

If you have any questions, please leave a message below

Guess you like

Origin blog.csdn.net/qq_38220334/article/details/114226573