Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3198

Ticket Renewal Thread exits prematurely due to inverted comparison

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.9.0.0
    • 0.9.0.1, 0.10.0.0
    • security
    • None

    Description

      Line 152 of Login.java:

      if (isUsingTicketCache && tgt.getRenewTill() != null && tgt.getRenewTill().getTime() >= expiry) {
      

      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.

      Attachments

        Activity

          People

            adam.kunicki Adam Kunicki
            adam.kunicki Adam Kunicki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: