官方文檔: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
線上方式
CDH - Parcel - 配置 - 遠端 Parcel 存儲庫 URL - "+"
離線方式
copy 檔案到 /opt/cloudera/parcel-repo
安裝 csd(Custom Service Descriptor) 後才能在 CDH 中添加服務中顯示 Phoenix 服務
下載下傳并 copy csd 檔案到 /opt/cloudera/csd
(hbase-site.xml 服務進階配置,hbase-site.xml 用戶端進階配置)
hbase.regionserver.wal.codec:定義寫入預寫日志("wal")編碼,支援二級索引
phoenix.functions.allowUserDefinedFunctions:啟用使用者自定義函數(UDF)