Open photogamerun opened 6 years ago
profile = /usr/local/var/krb5kdc/kdc.conf
[logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log
[libdefaults] default_realm = DC.SH.CTRIPCORP.COM ticket_lifetime = 7d renew_lifetime = 1d forwardable = true renewable = true permitted_enctypes = des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4 default_tgs_enctypes = des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4 default_tkt_enctypes = des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4
[realms] DC.SH.CTRIPCORP.COM = { kdc = kdc.hadoop.ctripcorp.com:88 kdc = kdc-master.hadoop.ctripcorp.com master_kdc = kdc-master.hadoop.ctripcorp.com admin_server = kdc-master.hadoop.ctripcorp.com:749 default_domain = dc.sh.ctripcorp.com }
[domain_realm] .hadoop.sh2.ctripcorp.com = DC.SH.CTRIPCORP.COM hadoop.sh2.ctripcorp.com = DC.SH.CTRIPCORP.COM
This issue has been automatically marked as stale because it has not had any activity in the last 2 years. If you feel that this issue is important, just comment and the stale tag will be removed; otherwise it will be closed in 7 days. This is an attempt to ensure that our open issues remain valuable and relevant so that we can keep track of what needs to be done and prioritize the right things.
Getting the exact same issue, in my case too telnet the kdc works, telnet the presto server also works. Can someone please suggest a possible solution ?
I have two machines
in 10.28.125.230 when I init presto-cli krb5 init is working /usr/java/jdk1.8.0_60/bin/java -Dsun.security.krb5.debug=true -jar presto-cli-0.190-executable.jar --server https://svr14375de630.hadoop.sh2.ctripcorp.com:7778 --enable-authentication --krb5-principal bidiy@DC.SH.CTRIPCORP.COM --krb5-keytab-path bidiy.keytab --krb5-remote-service-name hive --keystore-path keystore.jks --keystore-password presto --user bidiy --source presto-cli --catalog hive --schema default;
when I swith to 10.25.155.154 use all the same config files and run the same command /usr/java/jdk1.8.0_60/bin/java -Dsun.security.krb5.debug=true -jar presto-cli-0.190-executable.jar --server https://svr14375de630.hadoop.sh2.ctripcorp.com:7778 --enable-authentication --krb5-principal bidiy@DC.SH.CTRIPCORP.COM --krb5-keytab-path bidiy.keytab --krb5-remote-service-name hive --keystore-path keystore.jks --keystore-password presto --user bidiy --source presto-cli --catalog hive --schema default;
exception throws
I telnet the kdc it works, telnet the presto server it works I am confused. need someone's help~