[
https://issues.apache.org/jira/browse/YARN-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700263#comment-16700263
]
Suma Shivaprasad commented on YARN-8948:
----------------------------------------
Thanks [~bibinchundatt]. Can we add the instance type validation for
CapacityScheduler back which was removed in the latter patches.
{noformat}
if(!(scheduler instanceof CapacityScheduler)){
70 throw new IOException(
71 "AppNameMappingPlacementRule can be configured only for "
72 + "CapacityScheduler");
73 }
74
{noformat}
> PlacementRule interface should be for all YarnSchedulers
> --------------------------------------------------------
>
> Key: YARN-8948
> URL: https://issues.apache.org/jira/browse/YARN-8948
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Bibin A Chundatt
> Assignee: Bibin A Chundatt
> Priority: Major
> Attachments: YARN-8948.001.patch, YARN-8948.002.patch,
> YARN-8948.003.patch, YARN-8948.004.patch, YARN-8948.005.patch
>
>
> *Issue 1:*
> YARN-3635 intention was to add PlacementRule interface common for all
> YarnSchedules.
> {code}
> 33 public abstract boolean initialize(
> 34 CapacitySchedulerContext schedulerContext) throws IOException;
> {code}
> PlacementRule initialization is done using CapacitySchedulerContext binding
> to CapacityScheduler
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]