CDH6.2.0 integrates Phoenix

Official documentation: phoenix_installation

Parcel download address:

https://archive.cloudera.com/phoenix/6.2.0/parcels/

csd download address:

https://archive.cloudera.com/phoenix/6.2.0/csd/PHOENIX-1.0.jar

1. parcel configuration

/opt/cloudera/parcel-repo directory

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 file

/opt/cloudera/csd directory

PHOENIX-1.0.jar

3. Assignment-Activation

4. Restart cloudera-scm-server

systemctl restart cloudera-scm-server

5. Restart CM

6. Add pheonix service

7. hbase-site.xml configuration

HBase service advanced configuration and HBase client advanced configuration

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. Restart Hbase

9. Verify

phoenix-sqlline

> !tables

Guess you like

Origin blog.csdn.net/weixin_38023225/article/details/109674625