Revert YARN-4126. RM should not issue delegation tokens in unsecure mode.
(cherry picked from commit bb8214cab8a239385c2b06ad689d87b82abf6964)
This commit is contained in:
parent
7d826631ea
commit
dab611e605
@ -1218,7 +1218,7 @@ private boolean isAllowedDelegationTokenOp() throws IOException {
|
||||
.contains(UserGroupInformation.getCurrentUser()
|
||||
.getRealAuthenticationMethod());
|
||||
} else {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user