Created 07-28-2018 06:43 AM
i am getting below error when i tried to enbale kerberos using Cloudera Manager after setting up kdc server and admin principal.
Enable Kerberos for Cluster 1
/usr/share/cmf/bin/import_credentials.sh failed with exit code 1 and output of << + export PATH=/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin + PATH=/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin + KEYTAB_OUT=/var/run/cloudera-scm-server/cmf7587283748839759414.keytab + USER=admin/admin@HADOOP.COM + PASSWD=REDACTED + KVNO=1 + SLEEP=0 + RHEL_FILE=/etc/redhat-release + '[' -f /etc/redhat-release ']' + set +e + grep Tikanga /etc/redhat-release + '[' 1 -eq 0 ']' + '[' 0 -eq 0 ']' + grep 'CentOS release 5' /etc/redhat-release + '[' 1 -eq 0 ']' + '[' 0 -eq 0 ']' + grep 'Scientific Linux release 5' /etc/redhat-release + '[' 1 -eq 0 ']' + set -e + '[' -z /var/run/cloudera-scm-server/krb52763805900583239514.conf ']' + echo 'Using custom config path '\''/var/run/cloudera-scm-server/krb52763805900583239514.conf'\'', contents below:' + cat /var/run/cloudera-scm-server/krb52763805900583239514.conf + IFS=' ' + read -a ENC_ARR + for ENC in '"${ENC_ARR[@]}"' + echo 'addent -password -p admin/admin@HADOOP.COM -k 1 -e rc4-hmac' + ktutil + '[' 0 -eq 1 ']' + echo REDACTED + echo 'wkt /var/run/cloudera-scm-server/cmf7587283748839759414.keytab' + chmod 600 /var/run/cloudera-scm-server/cmf7587283748839759414.keytab + kinit -k -t /var/run/cloudera-scm-server/cmf7587283748839759414.keytab admin/admin@HADOOP.COM kinit: KDC has no support for encryption type while getting initial credentials >>
Created on 07-28-2018 06:44 AM - edited 07-28-2018 07:29 AM
i followed this blog but didint work.
nothing worked for me.
my krb5.conf file
[root@aa1 singhkabir880]# cat /etc/krb5.conf#
Configuration snippets may be placed in this directory as wellincludedir /etc/krb5.conf.d/
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm = HADOOP.COM
default_ccache_name = KEYRING:persistent:%{uid}
default_tgs_enctypes = rc4-hmac
default_tkt_enctypes = rc4-hmac
permitted_enctypes = rc4-hmac
[realms]
HADOOP.COM = {
kdc = aa1.c.true-shore-210608.internal
admin_server = aa1.c.true-shore-210608.internal
supported_enctypes = rc4-hmac
}
[domain_realm]
.hadoop.com = HADOOP.COM
hadoop.com = HADOOP.COM
[root@aa1 singhkabir880]#
Kindly suggest how to move further.
Thanks
Created 01-31-2019 09:55 PM
any suggestions on this??
Created on 12-17-2020 06:52 PM - edited 12-17-2020 06:58 PM
Hello @prabhat10 ,
Try this -