HADOOP-17342. Creating a token identifier should not do kerberos name

resolution. Contributed by Jim Brennan.

(cherry picked from commit af389d9897)
This commit is contained in:
Eric Badger 2020-11-05 21:56:46 +00:00
parent 41d58d190d
commit c6fee0a2c8
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ extends TokenIdentifier {
private int masterKeyId = 0; private int masterKeyId = 0;
public AbstractDelegationTokenIdentifier() { public AbstractDelegationTokenIdentifier() {
this(new Text(), new Text(), new Text()); this(null, null, null);
} }
public AbstractDelegationTokenIdentifier(Text owner, Text renewer, Text realUser) { public AbstractDelegationTokenIdentifier(Text owner, Text renewer, Text realUser) {