当前位置:网站首页>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
边栏推荐
- PHP 使用endroid/qrcode 二维码生成, GD库生成分享海报
- PHP function file_ get_ Contents and memory mapping of operating system
- TypeScript--第五节:类
- Finally, someone explained the cloud native architecture
- "Five considerations" for safe use of the Internet
- Quartz explanation and use
- 移动端异构运算技术 - GPU OpenCL 编程(基础篇)
- Analysis of CSRF Cross Site Request Forgery vulnerability
- stm32F407-------电容触摸按键
- Is it safe and reliable to open a securities account in Yixue school?
猜你喜欢

随笔记:模拟类数组(array-like)的方法

Have you ever met a fake interview in a job interview? How to avoid?

Use conditional breakpoints in vscode (based on GDB)
![[opencv] - linear filtering: box filtering, mean filtering, Gaussian filtering](/img/1d/3a46517cbfa90005a15d7858d81ca9.png)
[opencv] - linear filtering: box filtering, mean filtering, Gaussian filtering

stm32F407-------LCD

【状态机设计】Moore、Mealy状态机、三段式、二段式、一段式状态机书写规范

Chapter III processor scheduling exercise

Online yaml to JSON tool

ROS2中的行为树 BehaviorTree

Machine learning 6-decision tree
随机推荐
stm32F407-------IO引脚复用映射
Mobile heterogeneous computing technology - GPU OpenCL programming (basic)
三个pwn题
TypeScript--第五节:类
Puma joins hands with 10ktf shop to launch its Web3 cooperation project with the largest scale so far
Machine learning 4-dimension reduction technology
Use conditional breakpoints in vscode (based on GDB)
MySQL connection query is easy to understand
Chapter III processor scheduling exercise
Yyds dry goods inventory building knowledge map from scratch with neo4j (I)
Scrapy uses xlwt to implement the exporter that exports data in Excel format
What will be done after digital IC Verification?
The second session of question swiping and clock out activity -- solving the switching problem with recursion as the background (2)
解决ConfigParser解析中文问题
The second session of question swiping and clock out activity -- solving the switching problem with recursion as the background (III)
ROS2中的行为树 BehaviorTree
Stm32f407----- register address name mapping analysis
Blue Bridge Cup top ten common heaven level skill - breath of water The type of one recursion
入行数字IC验证后会做些什么?
stm32F407-------通用定时器
