Created on 02-20-2020 02:09 AM - edited 09-16-2022 01:45 AM
LLAP Service sometimes may fail to startup after HDP upgrade with the following error:
Error::
Caused by: org.apache.hadoop.security.KerberosAuthException: failure to login: for principal: hive/prakash.cloudera.com@CLOUDERA.COM from keytab /grid/0/yarn/local/usercache/hive/appcache/application_**********/container_***********_01_000001/keytabs/llap0.keytab javax.security.auth.login.LoginException: Pre-authentication information was invalid (24)
To resolve this issue, run the following command and start LLAP:
yarn app -destroy llap0
If the issue persists, then do the following
hdfs:///user/hive/.yarn/keytabs/hive/hive.service.keytab
hdfs dfs -copyToLocal /user/hive/.yarn/keytabs/hive/hive.service.keytab /tmp/hive.keytab
kinit -kt /tmp/hive.keytab hive/prakash.cloudera.com@CLOUDERA.COM kinit: Preauthentication failed while getting initial credentials
hdfs dfs -cp /user/hive/.yarn/keytabs/hive/hive.service.keytab /tmp/ hdfs dfs -rm /user/hive/.yarn/keytabs/hive/hive.service.keytab
Created on 02-21-2020 01:06 AM
@Folks You can follow this approach for any other kerberos keytab related issues with LLAP.
Created on 08-24-2020 07:07 AM