同样的代码,doris 2.1.6 七天后不会自动过期,doris 3.0.1就会自动过期,需要重建catalog才会正常
drop catalog xxx_hive_prod;
CREATE CATALOG `xxx_hive_prod` PROPERTIES (
"yarn.resourcemanager.principal" = "yarn/_HOST@xxx.COM",
"yarn.resourcemanager.ha.rm-ids" = "rm294,rm379",
"yarn.resourcemanager.address.rm379" = "bd-pr-nn2:8032",
"yarn.resourcemanager.address.rm294" = "bd-pr-nn1:8032",
"hive.metastore.kerberos.keytab.file" ="/opt/etl-utils/hadoop-auth.CDP-PRD/hive@xxx.COM.keytab",
"type" = "hms",
"ipc.client.fallback-to-simple-auth-allowed" = "true",
"hive.version" = "3.1.3",
"hive.server2.authentication" = "kerberos",
"hive.metastore.uris" = "thrift://bd-pr-nn1:9083",
"hive.metastore.sasl.enabled" = "true",
"hive.metastore.kerberos.principal" = "hive/bd-pr-nn1@xxx.COM",
"hive.exec.orc.split.strategy" = "BI",
"hadoop.security.authentication" = "kerberos",
"hadoop.kerberos.principal" = "hive/bd-pr-nn1@xxx.COM",
"hadoop.kerberos.keytab" = "/opt/etl-utils/hadoop-auth.CDP-PRD/hive@xxx.COM.keytab",
"ha.zookeeper.quorum" = "bd-pr-nn1:2181,bd-pr-nn2:2181,bd-pr-nn3:2181",
"file.meta.cache.ttl-second" = "60",
"dfs.nameservices" = "nameservice1",
"dfs.namenode.rpc-address.nameservice1.namenode371" = "bd-pr-nn2:8020",
"dfs.namenode.rpc-address.nameservice1.namenode265" = "bd-pr-nn1:8020",
"dfs.namenode.keytab.file" = "/opt/etl-utils/hadoop-auth.CDP-PRD/hdfs@xxx.COM.keytab",
"dfs.namenode.keytab.enabled" = "true",
"dfs.namenode.kerberos.principal" = "hdfs@xxx.COM",
"dfs.namenode.kerberos.internal.spnego.principal" = "HTTP/_HOST@xxx.COM",
"dfs.ha.namenodes.nameservice1" = "namenode265,namenode371",
"dfs.datanode.keytab.file" = "/opt/etl-utils/hadoop-auth.CDP-PRD/hdfs@xxx.COM.keytab",
"dfs.datanode.keytab.enabled" = "true",
"dfs.datanode.kerberos.principal" = "hdfs@xxx.COM",
"dfs.client.use.datanode.hostname" = "false",
"dfs.client.failover.proxy.provider.nameservice1" = "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",
"dfs.balancer.keytab.file" = "/opt/etl-utils/hadoop-auth.CDP-PRD/hdfs@xxx.COM.keytab",
"dfs.balancer.keytab.enabled" = "true",
"dfs.balancer.kerberos.principal" = "hdfs@xxx.COM"
);