Skip to main content
SimonBergerard
Silver ⭐️
November 9, 2021
Solved

Start TGT gen failed for user - KeytabException: unable to get keytab fileName

Hi every one,

 

I encountered the following error when I ran a cde cli command launching spark or airflow job.

 

 

ERROR Start TGT gen failed for user: my_user, error: rpc error: code = Internal desc = java.lang.RuntimeException: com.cloudera.thunderhead.service.tgtgenerator.services.KeytabException: unable to get keytab fileName

 

 

Have you ever seen this before? 

To resolve this issue, I just ran my command again and it passed after some tries. 

Does someone have a solution to pass this command at the first time?

My command seems:

 

 

cde job run --name my_job_name --variable var1=$(date +'%Y%m%d%H%M%S') --variable var2=$(date +'%Y%m%d%H%M%S') --variable var3=100 --variable var4=yyyyMMddHHmmss

 

 

Thank you

Azhar_Shaikh1
Gold ⭐️
November 24, 2021

Hello @SimonBergerard 

 

Can you take a look at https://my.cloudera.com/knowledge/ERROR-quot-MountVolume-SetUp-failed-for-volume-quot?id=327405 seems your issue is related to the same article?  If your issue gets resolved following the article you can accept this as the solution on this page. 

4 replies

Azhar_Shaikh1
Gold ⭐️
Gold ⭐️
November 16, 2021

Hello @SimonBergerard 

 

Just wanted to check the CDE version you are using and are your colleagues facing the same issue with CDE?

 

 

 

Translate
SimonBergerard
Silver ⭐️
November 23, 2021

I'm using The CDE version "1.12.0-b119"

Translate
VidyaSargur
Community Manager
Community Manager
December 1, 2021

@SimonBergerard, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.

Translate
Regards, Vidya Sargur, Community Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.