Open 126wang opened 12 months ago
@126wang Can you please let us know if you are able to query when you are configuring both catalogs separately?
I'm experiencing the same problem
If I try to connect via JDBC:POSTGRESQL, the config is like this and I don’t understand the error, if I open the database with these credentials everything works.
I'm just trying to see what tables are inside my directory
Error when connecting to hive with Kerberos authentication and hive without Kerberos authentication at the same time
When I use presto to connect to hive with Kerberos authentication and hive without Kerberos authentication at the same time, I cannot use select * from hive.database.tablename; the error is reported as follows:
The error screenshot is as follows:
The error report in the log is detailed as follows: /presto-server-0.279/data/var/log/server.log
The following is my relevant configuration file
hive.metastore.uri=thrift://10.0.80.57:9083 hive.config.resources=/home/presto/mypresto/hadoop/core-site.xml,/home/presto/mypresto/hadoop/hdfs-site.xml hive.metastore-cache-maximum-size=10000 hive.metastore-refresh-max-threads=100 hive.metastore.username=duhy hive.metastore.authentication.type=NONE hive.hdfs.authentication.type=NONE hive.copy-on-first-write-configuration-enabled=false
connector.name=hive-hadoop2
hive.metastore.uri=thrift://mc03.center.name:9083 hive.config.resources=/home/presto/mypresto/hadoop_cdp/core-site.xml,/home/presto/mypresto/hadoop_cdp/hdfs-site.xml
hive.copy-on-first-write-configuration-enabled=false hive.metastore-cache-maximum-size=10000 hive.metastore-refresh-max-threads=100 hive.metastore.username= hive.metastore.authentication.type=KERBEROS hive.metastore.service.principal=hive/_HOST@CENTER.NAME hive.metastore.client.principal=@CENTER.NAME hive.metastore.client.keytab=/home/presto/mypresto/hadoop_cdp/***.keytab
hive.hdfs.authentication.type=KERBEROS hive.hdfs.presto.principal=@CENTER.NAME hive.hdfs.presto.keytab=/home/presto/mypresto/hadoop_cdp/.keytab