Skip to main content
SimonBergerard
Silver ⭐️
Nov 9, 2021 9:30 AM UTC
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 ⭐️
Nov 24, 2021 3:34 PM UTC

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 ⭐️
Nov 16, 2021 10:49 AM UTC

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 ⭐️
Nov 23, 2021 9:41 PM UTC

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

Translate
Azhar_Shaikh1
Gold ⭐️
Gold ⭐️
Nov 24, 2021 3:34 PM UTC

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. 

Translate