From c6fee0a2c8e86fa9715678a3b967d119c4113848 Mon Sep 17 00:00:00 2001 From: Eric Badger Date: Thu, 5 Nov 2020 21:56:46 +0000 Subject: [PATCH] HADOOP-17342. Creating a token identifier should not do kerberos name resolution. Contributed by Jim Brennan. (cherry picked from commit af389d989770c4218c24e640f572bc7492f7d4b3) --- .../token/delegation/AbstractDelegationTokenIdentifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java index 6dfe52a83bf..a89c998aba6 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenIdentifier.java @@ -49,7 +49,7 @@ extends TokenIdentifier { private int masterKeyId = 0; public AbstractDelegationTokenIdentifier() { - this(new Text(), new Text(), new Text()); + this(null, null, null); } public AbstractDelegationTokenIdentifier(Text owner, Text renewer, Text realUser) {