0
我正在使用KNIME 3.4.1並嘗試使用此KNIME blog post將它連接到HDP 2.6.1。Hive連接器到HDP 2.6不起作用
Kerberos票據存在
E:\Omkar\Development\Software\Analysis\KNIME>klist
Credentials cache: C:\Users\ojoqcu\krb5cc_ojoqcu
Default principal: [email protected], 1 entry found.
[1] Service Principal: krbtgt/[email protected]
Valid starting: Oct 06, 2017 10:49:39
Expires: Oct 06, 2017 20:49:39
E:\Omkar\Development\Software\Analysis\KNIME>knime.exe
E:\Omkar\Development\Software\Analysis\KNIME>
krb5.conf文件正在KNIME JRE
[libdefaults]
renew_lifetime = 7d
forwardable = true
default_realm = GLOBAL.SCD.COM
ticket_lifetime = 10h
dns_lookup_realm = false
dns_lookup_kdc = true
default_ccache_name = /tmp/krb5cc_%{uid}
allow_weak_crypto = yes
[logging]
default = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
kdc = FILE:/var/log/krb5kdc.log
[realms]
GLOBAL.SCD.COM = {
default_domain = sss.se.com
}
SE = {
default_domain = sss.se.com
}
我已經加入了Hortonworks蜂巢JDBC JAR目前,還沒有,司機不顯示在配置中。
隨附的屏幕截圖示出了配置。蜂巢連接器,在執行時,我收到以下錯誤:
ERROR Hive Connector 0:1 Exception creating Kerberos based jdbc connection. Error: null
ERROR Hive Connector 0:1 Execute failed: Could not create connection to database: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
我已經嘗試過目錄和jar文件,結果是一樣的 –
您是否嘗試過在文章最後描述的增強日誌記錄選項?它揭示了什麼嗎?這也許值得在KNIME論壇發佈 - 有一個帖子,當前有一個鏈接[這裏](https://www.knime.com/forum/knime-general/hive-through-jdbc),看起來像它描述了類似的問題 – SteveR