1 新建配置文件 根据自己的presto的安装目录(目前版本presto330,注意官方文档是否支持PHONEIX PHONEIX版本4.14.1)

vim /mnt/software/presto/etc/catalog

connector.name=phoenix
phoenix.connection-url=jdbc:phoenix:hdp:2181:/hbase
phoenix.config.resources=/mnt/software/presto/etc/cluster/hbase-site.xml

  

 
配置文件提前放在对应路径之下
/mnt/software/presto/etc/cluster/hbase-site.xml 
 
2 重启presto
/mnt/software/presto/bin/launcher restart
 
3 测试是否能够查询PHONEIX数据
/mnt/software/presto/bin/presto --server hdp:9088 --catalog phoenix --schema default
 
Presto对接PHONEIX

 

 

 

相关文章:

  • 2021-11-19
  • 2021-07-24
  • 2021-11-21
  • 2021-05-08
  • 2022-01-19
  • 2021-05-19
  • 2021-12-02
  • 2021-09-19
猜你喜欢
  • 2021-12-30
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
  • 2021-05-15
相关资源
相似解决方案