You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by sr...@apache.org on 2019/07/26 16:49:10 UTC
[storm] branch master updated: MINOR: Clarify error message when
TGT has problems (#3012)
This is an automated email from the ASF dual-hosted git repository.
srdo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new 9f10f8a MINOR: Clarify error message when TGT has problems (#3012)
9f10f8a is described below
commit 9f10f8a14482e4eb1c1323ac86d3c373634539c2
Author: jacobtolar <ac...@sheckel.net>
AuthorDate: Fri Jul 26 11:49:05 2019 -0500
MINOR: Clarify error message when TGT has problems (#3012)
If you're not very familiar with Kerberos, having more explicit instructions in these error messages can be helpful.
---
.../src/jvm/org/apache/storm/security/auth/kerberos/AutoTGT.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/storm-client/src/jvm/org/apache/storm/security/auth/kerberos/AutoTGT.java b/storm-client/src/jvm/org/apache/storm/security/auth/kerberos/AutoTGT.java
index e93b1c4..c4f9f91 100644
--- a/storm-client/src/jvm/org/apache/storm/security/auth/kerberos/AutoTGT.java
+++ b/storm-client/src/jvm/org/apache/storm/security/auth/kerberos/AutoTGT.java
@@ -137,15 +137,15 @@ public class AutoTGT implements IAutoCredentials, ICredentialsRenewer, IMetricsR
}
if (!tgt.isForwardable()) {
- throw new RuntimeException("The TGT found is not forwardable. Please use -f option.");
+ throw new RuntimeException("The TGT found is not forwardable. Please use -f option with 'kinit'.");
}
if (!tgt.isRenewable()) {
- throw new RuntimeException("The TGT found is not renewable. Please use -r option.");
+ throw new RuntimeException("The TGT found is not renewable. Please use -r option with 'kinit'.");
}
if (tgt.getClientAddresses() != null) {
- throw new RuntimeException("The TGT found is not address-less. Please use -A option.");
+ throw new RuntimeException("The TGT found is not address-less. Please use -A option with 'kinit'.");
}
LOG.info("Pushing TGT for " + tgt.getClient() + " to topology.");