You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Wangda Tan (JIRA)" <ji...@apache.org> on 2018/01/16 23:28:00 UTC
[jira] [Created] (YARN-7763) Refactoring PlacementConstraintUtils
APIs so PlacementProcessor/Scheduler can use the same API and
implementation
Wangda Tan created YARN-7763:
--------------------------------
Summary: Refactoring PlacementConstraintUtils APIs so PlacementProcessor/Scheduler can use the same API and implementation
Key: YARN-7763
URL: https://issues.apache.org/jira/browse/YARN-7763
Project: Hadoop YARN
Issue Type: Sub-task
Environment: As I mentioned on YARN-6599, we will add SchedulingRequest as part of the PlacementConstraintUtil method and both of processor/scheduler implementation will use the same logic. The logic looks like:
{code:java}
PlacementConstraint pc = schedulingRequest.getPlacementConstraint();
If (pc == null) {
pc = PlacementConstraintMgr.getPlacementConstraint(schedulingRequest.getAllocationTags());
}
// Do placement constraint match ...{code}
Reporter: Wangda Tan
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org