[ 
https://issues.apache.org/jira/browse/KAFKA-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gwen Shapira resolved KAFKA-3198.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.1.0

Issue resolved by pull request 858
[https://github.com/apache/kafka/pull/858]

> Ticket Renewal Thread exits prematurely due to inverted comparison
> ------------------------------------------------------------------
>
>                 Key: KAFKA-3198
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3198
>             Project: Kafka
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.9.0.0
>            Reporter: Adam Kunicki
>            Assignee: Adam Kunicki
>            Priority: Critical
>             Fix For: 0.9.0.1, 0.9.1.0
>
>
> Line 152 of Login.java:
> {code}
> if (isUsingTicketCache && tgt.getRenewTill() != null && 
> tgt.getRenewTill().getTime() >= expiry) {
> {code}
> This line is used to determine whether to exit the thread and issue an error 
> to the user.
> The >= should be < since we are actually able to renew if the renewTill time 
> is later than the current ticket expiration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to