Storm Service Check Error - Kerberos: "The TGT found is not renewable"
Short Description
Storm Service Check fails with a Kerberos error after performing an Ambari upgrade in a cluster that had Metron installed.
Article
In a cluster where Metron was removed before upgrading Ambari server, the following error can occur when performing a Service Check in Storm service:
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: The TGT found is not renewable
at org.apache.storm.security.auth.kerberos.AutoTGT.populateCredentials(AutoTGT.java:1)
at org.apache.storm.StormSubmitter.populateCredentials(StormSubmitter.java:3)
at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:748)
at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:590)
at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:239)
at storm.starter.WordCountTopology.main(WordCountTopology.java:492)
Caused by: java.lang.RuntimeException: The TGT found is not renewable
at org.apache.storm.security.auth.kerberos.AutoTGT.populateCredentials(AutoTGT.java:291)
Solution
Go to Ambari -> Storm Service -> Configs -> Custom storm-site and remove the following properties:
topology.auto-credentials=['org.apache.storm.security.auth.kerberos.
AutoTGT']
nimbus.credential.renewers.classes=['org.apache.storm.security.auth.kerberos.AutoTGT']
supervisor.run.worker.as.user=true

