StarRocks通过Catalog读取2个Hive集群(高可用集群)
1、将两个集群的主机都配置到 /etc/hosts
2、创建Hive Catalog
mysql -uroot -p -P9030 -h ip地址
CREATE EXTERNAL CATALOG hive1_catalog
PROPERTIES ("type"="hive",
"hive.metastore.uris"="thrift://ip地址:9083");
CREATE EXTERNAL CATALOG hive2_catalog
PROPERTIES ("type"="hive",
"hive.metastore.uris"="thrift://ip地址1:9083,thrift://IP地址2:9083");