Phoenix对接Superset+Presto
安装prestosql
参考:https://prestosql.io/docs/current/installation/deployment.html
Presto配置Phoenix连接
新建文件/presto-server-331/etc/catalog/phoenix.propertie
添加配置:
connector.name=phoenix
case-insensitive-name-matching=true
phoenix.connection-url=jdbc:phoenix:xxx,xxx,xxxx:2181:/hbase
phoenix.config.resources=/home/presto/hbase-site.xml,/home/presto/core-site.xml,/home/presto/hdfs-site.xml,/home/presto/ssl-client.xml`
重启Presto服务
bin/launcher restart
命令参考:
bin/launcher --help
Usage: launcher [options] command
Commands: run, start, stop, restart, kill, status
Options:
-h, --help show this help message and exit
-v, --verbose Run