官方文档:phoenix_installation
Parcel 下载地址:
https://archive.cloudera.com/phoenix/6.2.0/parcels/
csd 下载地址:
https://archive.cloudera.com/phoenix/6.2.0/csd/PHOENIX-1.0.jar
1.parcel配置
/opt/cloudera/parcel-repo目录
PHOENIX-5.0.0-cdh6.2.0.p0.1308267-el7.parcel
PHOENIX-5.0.0-cdh6.2.0.p0.1308267-el7.parcel.sha
2.csd文件
/opt/cloudera/csd目录
![](/qrcode.jpg)
PHOENIX-1.0.jar
3.分配-激活
4.重启cloudera-scm-server
systemctl restart cloudera-scm-server
5.重启CM
6.添加pheonix服务
7.hbase-site.xml 配置
HBase 服务高级配置 和 HBase 客户端高级配置
hbase.regionserver.wal.codec org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec phoenix.functions.allowUserDefinedFunctions true enable UDF functions phoenix.schema.mapSystemTablesToNamespace true phoenix.schema.isNamespaceMappingEnabled true |
8.重启Hbase
9.验证
phoenix-sqlline > !tables |