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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to