Home Forums Security Kerberos security in HDP 2.0 GSS initiate failed

This topic contains 0 replies, has 1 voice, and was last updated by  Gaurav Thakur 8 months, 4 weeks ago.

  • Creator
    Topic
  • #48146

    Gaurav Thakur
    Participant

    GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism
    level: Fail to create credential.
    (63) - No service creds)]

    Getting the above error message after enabling security for HDP through ambari.
    MY HDFS services start and then i get this error.

    kinit is successfull for me.

    [root@kerb-ambari krb5kdc]# kinit -p dn/kerb-ambari.pbi.global.pvt@d -kt /etc/security/keytabs/dn.service.keytab
    [root@kerb-ambari krb5kdc]# hadoop fs -ls
    14/02/05 21:23:54 ERROR security.UserGroupInformation: PriviledgedActionException as:dn/kerb-ambari.pbi.global.pvt@pbi.global.pvt (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)]
    14/02/05 21:23:54 INFO security.UserGroupInformation: Initiating logout for dn/kerb-ambari.pbi.global.pvt@pbi.global.pvt
    14/02/05 21:23:54 INFO security.UserGroupInformation: Initiating re-login for dn/kerb-ambari.pbi.global.pvt@pbi.global.pvt
    14/02/05 21:23:55 ERROR security.UserGroupInformation: PriviledgedActionException as:dn/kerb-ambari.pbi.global.pvt@pbi.global.pvt (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)]
    14/02/05 21:23:55 WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.
    14/02/05 21:23:55 ERROR security.UserGroupInformation: PriviledgedActionException as:dn/kerb-ambari.pbi.global.pvt@pbi.global.pvt (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)]
    14/02/05 21:23:57 ERROR security.UserGroupInformation: PriviledgedActionException as:dn/kerb-ambari.pbi.global.pvt@pbi.global.pvt (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)]
    14/02/05 21:23:57 WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.
    14/02/05 21:23:59 ERROR security.UserGroupInformation: PriviledgedActionException as:dn/kerb-ambari.pbi.global.pvt@pbi.global.pvt (auth:KERBEROS) cause:javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Fail to create credential. (63) - No service creds)]

    Any clue how to get this working?

You must be logged in to reply to this topic.