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:17:48 UTC

[hadoop] branch branch-2.10 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-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git


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

commit 7a830d2633ccaabf2a4c91f7c8aabf0c3a286b01
Author: Eric Badger <eb...@verizonmedia.com>
AuthorDate: Thu Nov 5 22:17:32 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 7dad087..5dc5a21 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