Hiveserver interactive(LLAP) startup failure javax.security.auth.login.LoginException: Pre-authentication information was invalid (24)
- October 5, 2026 at 8:54 AM
- 2 replies
- 3781 views
- Translate All
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
- Check the hive.service.keytab file is available in all the hosts, run kinit and test the connectivity.
- If the file is missing, recreate the keytabs on the missing hosts either through Ambari or manually (see this article for manual keytab creation).
- Verify the file in HDFS and copy it to the local. Perform kinit with the copied keytab.
hdfs:///user/hive/.yarn/keytabs/hive/hive.service.keytabhdfs dfs -copyToLocal /user/hive/.yarn/keytabs/hive/hive.service.keytab /tmp/hive.keytabkinit -kt /tmp/hive.keytab hive/prakash.cloudera.com@CLOUDERA.COM
kinit: Preauthentication failed while getting initial credentials - If you get the error, to move the keytab file from hdfs location.
hdfs dfs -cp /user/hive/.yarn/keytabs/hive/hive.service.keytab /tmp/
hdfs dfs -rm /user/hive/.yarn/keytabs/hive/hive.service.keytab - Start LLAP component.

