使用kerberos keytab连接到CDH蜂巢蜂线,Kerberos身份验证失败

时间:2019-09-02 10:47:28

标签: hive kerberos beeline keytab

我使用keytab连接CDH蜂巢蜂

my uri:!connect jdbc:hive2://host:10000/default;principal=hive/host@HADOOP.COM

我的用户可以通过kerberos认证

这是我的错误消息:

beeline> !connect jdbc:hive2://host:10000/default;principal=hive/host@HADOOP.COM
Connecting to jdbc:hive2://host:10000/default;principal=hive/host@HADOOP.COM
Enter username for jdbc:hive2://host:10000/default;principal=hive/host@HADOOP.COM: 
Enter password for jdbc:hive2://host:10000/default;principal=hive/host@HADOOP.COM: 
log4j:WARN No appenders could be found for logger (org.apache.hive.jdbc.Utils).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Error: Could not open client transport with JDBC Uri: jdbc:hive2://host:10000/default;principal=hive/host@HADOOP.COM: GSS initiate failed (state=08S01,code=0)
0: jdbc:hive2://host:10000/default (closed)>

0 个答案:

没有答案