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