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 @@ public class ClientRMService extends AbstractService implements
|
||||||
.contains(UserGroupInformation.getCurrentUser()
|
.contains(UserGroupInformation.getCurrentUser()
|
||||||
.getRealAuthenticationMethod());
|
.getRealAuthenticationMethod());
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue