kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: MINOR: Warning instead of error if TGT cannot be renewed beyond the next expiry date
Date Sat, 02 Jul 2016 01:36:22 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 0f8b67903 -> 31b4460cf


MINOR: Warning instead of error if TGT cannot be renewed beyond the next expiry date

Author: Sriharsha Chintalapani <harsha@hortonworks.com>

Reviewers: Gwen Shapira <cshapi@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1510 from harshach/KerberosLogin-Log


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/31b4460c
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/31b4460c
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/31b4460c

Branch: refs/heads/trunk
Commit: 31b4460cf9a520bd019ed98949ebfa9243e6e4a6
Parents: 0f8b679
Author: Sriharsha Chintalapani <harsha@hortonworks.com>
Authored: Sat Jul 2 02:26:33 2016 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Sat Jul 2 02:26:33 2016 +0100

----------------------------------------------------------------------
 .../org/apache/kafka/common/security/kerberos/KerberosLogin.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/31b4460c/clients/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java
b/clients/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java
index 74b4ff2..ff9f218 100644
--- a/clients/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java
+++ b/clients/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java
@@ -158,7 +158,7 @@ public class KerberosLogin extends AbstractLogin {
                         long expiry = tgt.getEndTime().getTime();
                         Date expiryDate = new Date(expiry);
                         if (isUsingTicketCache && tgt.getRenewTill() != null &&
tgt.getRenewTill().getTime() < expiry) {
-                            log.error("The TGT cannot be renewed beyond the next expiry date:
{}." +
+                            log.warn("The TGT cannot be renewed beyond the next expiry date:
{}." +
                                     "This process will not be able to authenticate new SASL
connections after that " +
                                     "time (for example, it will not be able to authenticate
a new connection with a Kafka " +
                                     "Broker).  Ask your system administrator to either increase
the " +


Mime
View raw message