renew ticket failed

Dong Ye yedong.ye at gmail.com
Wed Nov 8 16:13:08 EST 2023


Hi, All:


      we encountered an issue where we can't renew the ticket before the
ticket expires. Seems the ticket is renewable but its renew_till time is
before its end_time. How is it possible? How to fix that. The relevant logs
are :


WARN  | 27 Sep 2023 12:59:52,009 |
> org.apache.hadoop.security.UserGroupInformation | Exception encountered
> while running the renewal command for
> hive/ip-10-54-57-56.us-west-2.compute.internal at us-west-2.compute.internal.
> (TGT end time:1695825352000, renewalFailures:
> org.apache.hadoop.metrics2.lib.MutableGaugeInt at 298f6c8,renewalFailuresTotal:
> org.apache.hadoop.metrics2.lib.MutableGaugeLong at 1093bbfd)
> org.apache.hadoop.util.Shell$ExitCodeException: kinit: Ticket expired
> while renewing credentials
>
>     at org.apache.hadoop.util.Shell.runCommand(Shell.java:998)
> ~[hadoop-common-2.10.1-amzn-4.jar:?]
>     at org.apache.hadoop.util.Shell.run(Shell.java:884)
> ~[hadoop-common-2.10.1-amzn-4.jar:?]
>     at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1216)
> ~[hadoop-common-2.10.1-amzn-4.jar:?]
>     at org.apache.hadoop.util.Shell.execCommand(Shell.java:1310)
> ~[hadoop-common-2.10.1-amzn-4.jar:?]
>     at org.apache.hadoop.util.Shell.execCommand(Shell.java:1292)
> ~[hadoop-common-2.10.1-amzn-4.jar:?]
>     at
> org.apache.hadoop.security.UserGroupInformation$1.run(UserGroupInformation.java:1003)
> [hadoop-common-2.10.1-amzn-4.jar:?]
>     at java.lang.Thread.run(Thread.java:750) [?:1.8.0_382]


Note the TGT end time 1695825352000 is 27 September 2023 14:35:52 which is
in the future of the logging time 27 Sep 2023 12:59:52,009.

Thanks.

Have a nice day.


More information about the Kerberos mailing list