Created 12-29-2016 11:54 AM
I've noticed that 24 hours after starting, the Spark Thrift server encounters authentication failures.
By the way i am on HDP 2.4.2
[Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]The message directly before this (usually several hours beforehand) is
WARN UserGroupInformation: Exception encountered while running the renewal command. Aborting renew thread. ExitCodeException exitCode=1: kinit: Ticket expired while renewing credentials
Created 12-29-2016 11:59 AM
Hi @Sandeep Nemuri, Can you please verify if spark.yarn.keytab and spark.yarn.principal is set in spark-thrift-sparkconf. This is a know bug. As STS is failing to renew the token once the cache expires, and there is no renew thread. Please add above properties and let me know if you are still seeing any issue.Thx
Created 12-29-2016 11:59 AM
Hi @Sandeep Nemuri, Can you please verify if spark.yarn.keytab and spark.yarn.principal is set in spark-thrift-sparkconf. This is a know bug. As STS is failing to renew the token once the cache expires, and there is no renew thread. Please add above properties and let me know if you are still seeing any issue.Thx
Created 12-30-2016 10:02 AM
thanks @nyadav i don't see the above two properties in spark-thrift-sparkconf. Adding them helped in resolving the issue.
Created 01-19-2022 04:23 PM
What's the name of the bug/ticket? Is it solved?
Created 08-07-2019 01:13 PM
Is the issue resolved in HDP 2.6.4 ? We are facing similar issue on Spark2 History server.
Kerberos ticket renewal is failing and History server Web UI is inaccessible to due expired kerberos tgt.