phoniex初始化
1 解压软件包
2 copy server包到对应节点
3 scp /mnt/software/phoenix-4.14.1-cdh5.16.1-server.jar hadoop002:/opt/cloudera/parcels/CDH/lib/hbase/lib/
4 添加配置
<property><name>hbase.table.sanity.checks</name><value>false</value></property><property><name>hbase.regionserver.wal.codec</name><value>org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec</value></property><property><name>phoenix.schema.isNamespaceMappingEnabled</name><value>true</value></property><property><name>phoenix.schema.mapSystemTablesToNamespace</name><value>true</value></property><property><name>phoenix.coprocessor.maxServerCacheTimeToLiveMs</name><value>300000000</value></property><property><name>hbase.regionserver.executor.openregion.threads</name><value>100</value></property>
5 重启服务
验证客户端 配置
./sqlline.py hadoop001:2181