You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by eb...@apache.org on 2020/11/05 22:04:40 UTC

[hadoop] branch branch-3.2 updated: HADOOP-17342. Creating a token identifier should not do kerberos name resolution. Contributed by Jim Brennan.

This is an automated email from the ASF dual-hosted git repository.

ebadger pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 0a90c2e  HADOOP-17342. Creating a token identifier should not do kerberos name resolution. Contributed by Jim Brennan.
0a90c2e is described below

commit 0a90c2ee898bce2b1f6622e38f681531dd489e11
Author: Eric Badger <eb...@verizonmedia.com>
AuthorDate: Thu Nov 5 22:04:16 2020 +0000

    HADOOP-17342. Creating a token identifier should not do kerberos name
    resolution. Contributed by Jim Brennan.
    
    (cherry picked from commit af389d989770c4218c24e640f572bc7492f7d4b3)
---
 .../security/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 6dfe52a..a89c998 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) {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org