1、clickhouse hive 引擎是在v22.1之后才有
2、当大数据环境为HA时,我们设置的表查询时经常会报错:
DB::Exception: Unable to connect to HDFS: InvalidParameter: Cannot parse URI: hdfs://hdcluster, missing port or invalid HA configuration Caused by: HdfsConfigNotFound: Config key: dfs.ha.namenodes.hdcluster not found. (NETWORK_ERROR)
解决方式:只需要将hdfs-site.xml文件路径在clickhouse-server的config.xml文件中配置一下即可
配置成功后记得重启clickhouse!
官网连接:https://clickhouse.com/docs/en/engines/table-engines/integrations/hdfs/#namenode-ha
手动验证可行,不再报错



