doris 3.0.2 kudu catalog查询表错误

Viewed 52

doris3.0.2 以下代码报错 ,doris 3.0.1没有以下问题

drop catalog if  exists kudu_catalog;
create catalog if not exists kudu_catalog properties (  
    "type"="trino-connector",  
    "trino.connector.name"="kudu", 
    "trino.kudu.client.master-addresses"="xxxx:7051", 
    "trino.kudu.authentication.type" = "KERBEROS" ,
    "trino.kudu.authentication.client.principal" ="hive@XXX.COM",
    "trino.kudu.authentication.client.keytab" ="/opt/etl-utils/hadoop-auth.CDP-PRD/hive@XXX.keytab",
  "trino.kudu.authentication.config" ="/opt/etl-utils/hadoop-auth.CDP-PRD/krb5.conf",
    "trino.kudu.authentication.server.principal.primary" = "kudu",
    "trino.kudu.client.disable-statistics"="true"
);
select * from kudu_catalog.`default`.`xxxx` limit 100

报错

Learn more:
  https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
Caused by: IllegalStateException (same stack trace as error #8)
10) [Guice/ErrorInCustomProvider]: IllegalStateException: Refusing to set system property 'java.security.krb5.conf' to '/opt/etl-utils/hadoop-auth.CDP-PRD/krb5.conf', it is already set to '/etc/krb5.conf'
  at KuduSecurityModule$KerberosAuthenticationModule.createKuduClientSession(KuduSecurityModule.java:86)
      \_ installed by: KuduModule -> KuduSecurityModule -> ConditionalModule -> KuduSecurityModule$KerberosAuthenticationModule
  at RangePartitionProcedures.<init>(RangePartitionProcedures.java:50)
      \_ for 1st parameter clientSession
  at GeneratedMethodAccessor2.invoke(Unknown Source)
  while locating RangePartitionProcedures

Learn more:
  https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
Caused by: IllegalStateException (same stack trace as error #8)
10 errors
1 Answers

/etc/krb5.conf 和 /opt/etl-utils/hadoop-auth.CDP-PRD/krb5.conf 是同一个文件吗
这个doris集群是不是还会访问别的有KERBEROS catalog