当前位置:网站首页>Phoenix installation tutorial
Phoenix installation tutorial
2022-06-28 23:50:00 【Tancy.】
Phoenix
Hadoop Ecosphere series
Preparation
Phoenix Is based on HBase Of , Need to install HBase, Equivalent to HBase One skin .
The specific introduction can be seen in Phoenix Official website
therefore ,Phoenix Environmental requirements , To be in HBase On the basis of ,
That is :Hadoop + Zookeeper +HBase
Be careful : Different versions HBase Corresponding to different versions Phoenix, Different versions will report errors ,
Environment configuration
install
Install and unzip
tar -zxvf xxxxx -C / Specify the directory
The decompression process will be a little slow , natural .Change file name
mv xxxx xxxx
Phoenix The file is very simple , Three jar package 
distribution Server package
First the Phoenix Of server Package copy to HBase Of lib Directory cp phoenix-server-hbase-2.4-5.1.2.jar /hbase Under the table of contents /lib
for example :cp phoenix-server-hbase-2.4-5.1.2.jar /export/server/hbase-2.4.8/lib
And then use xsync Distribute to the cluster xsync /export/server/hbase-2.4.8/lib/phoenix-server-hbase-2.4-5.1.2
So far, it has been deployed Phoenix, Because it's just a skin , So you can install it on only one server
Configure environment variables
Create environment variable file
cd /etc/profile.dvim phoenix.shWrite the following
The path here is based on your own phoenix Route configuration
export PHOENIX_HOME=/export/server/phoenix
export PHOENIX_CLASSPATH=$PHOENIX_HOME
export PATH=$PATH:$PHOENIX_HOME/bin
You can use pwd Look at your own phoenix route 
- Update environment variables
source /etc/profile
Get into Phoenix
- restart HBase
- start-up Phoenix
stay Phoenix Of bin Under the table of contents , There is onesqlline.pyfile , Is to enter phoenix The file of
command :sqlline.py hadoop1,hadoop2,hadoop3:2181
Here is the relative path startup , The absolute path should be written completely sqlline.py The position of , hinder hadoop1 It's the host name , Write according to your host name , Namely zookeeper Start port of
边栏推荐
- Flutter obtains the coordinate size of any element in the interface through globalkey
- 《英语语法新思维 基础版2》读书笔记(一)
- 解决ConfigParser解析中文问题
- [machine learning] numerical analysis 02 -- finding roots of arbitrary equations
- Online yaml to JSON tool
- 炒股开户万一免五是靠谱么,安全么
- What are the virtual machine software? What are their respective roles?
- 移动端异构运算技术 - GPU OpenCL 编程(基础篇)
- 在线买股票开户安全嘛?
- [buuctf.reverse] 131-135
猜你喜欢

Online yaml to JSON tool

What are the virtual machine software? What are their respective roles?

Stm32f407------- external interrupt

Don't ask me how to do UI automation test again

Mobile heterogeneous computing technology - GPU OpenCL programming (basic)

Three PWN questions

stm32F407-------IO引脚复用映射
![SQL note 2 [MySQL]](/img/a4/f711173ce731d95860746e309b7d74.jpg)
SQL note 2 [MySQL]

【LeetCode】21. 合并两个有序链表 - Go 语言题解
![[buuctf.reverse] 131-135](/img/c2/b8b06c8191af2c75bf4ad5c82feaea.png)
[buuctf.reverse] 131-135
随机推荐
PHP 使用endroid/qrcode 二维码生成, GD库生成分享海报
What pitfalls should be avoided in the job interview for the operation post in 2022?
PHP function file_ get_ Contents and memory mapping of operating system
TypeScript--第四节:函数
Typescript -- Section 2: variable declaration
Stm32f407------- external interrupt
Stm32f407 ------ running lamp and buzzer
fio的IO重放功能
Picture 64base transcoding and decoding
Solve the problem of Chinese parsing by configparser
TypeScript -- 第七节 枚举
PHP函数file_get_contents与操作系统的内存映射
Is it safe to open an account for buying stocks online?
[buuctf.reverse] 131-135
Use conditional breakpoints in vscode (based on GDB)
Insomnia last night
VSCode里使用条件断点(基于GDB)
Have you ever met a fake interview in a job interview? How to avoid?
MSCI 2022 market classification assessment
Rongyun communication solution solves the pain points of enterprise communication
