Chat2DB Bug: Hive无法连接到使用Kerberos身份验证的集群

xzv2uavs  于 6个月前  发布在  Hive
关注(0)|答案(3)|浏览(120)

描述bug

对等方指示失败:不支持的机制类型PLAIN
org.apache.hive.org.apache.thrift.transport.TTransportException: 对等方指示失败:不支持的机制类型PLAIN
at org.apache.hive.org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:199)
at org.apache.hive.org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:307)
at org.apache.hive.org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:343)
at org.apache.hive.jdbc.HiveConnection.(HiveConnection.java:228)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
at ai.chat2db.spi.sql.IDriverManager.getConnection(IDriverManager.java:90)
at ai.chat2db.spi.sql.IDriverManager.getConnection(IDriverManager.java:75)
at ai.chat2db.spi.util.JdbcUtils.testConnect(JdbcUtils.java:159)
at ai.chat2db.server.domain.core.impl.DataSourceServiceImpl.preConnect(DataSourceServiceImpl.java:255)
at ai.chat2db.server.web.api.controller.data.source.DataSourceController.preConnect(DataSourceController.java:91)
at jdk.internal.reflect

相关问题