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

This commit is contained in:
Jian He 2016-12-13 20:49:54 -08:00
parent fbdbbd57cd
commit ada876cd1d

View File

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