Revert YARN-4126. RM should not issue delegation tokens in unsecure mode.

This commit is contained in:
Jian He 2016-10-23 15:56:22 -07:00
parent 48c9064b33
commit bb8214cab8

View File

@ -1218,7 +1218,7 @@ private boolean isAllowedDelegationTokenOp() throws IOException {
.contains(UserGroupInformation.getCurrentUser()
.getRealAuthenticationMethod());
} else {
return false;
return true;
}
}