You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Szilard Nemeth (Jira)" <ji...@apache.org> on 2021/08/31 10:15:00 UTC
[jira] [Assigned] (YARN-10907) Investigate: Minimize usages of
AbstractCSQueue#csContext
[ https://issues.apache.org/jira/browse/YARN-10907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Szilard Nemeth reassigned YARN-10907:
-------------------------------------
Assignee: Benjamin Teke
> Investigate: Minimize usages of AbstractCSQueue#csContext
> ---------------------------------------------------------
>
> Key: YARN-10907
> URL: https://issues.apache.org/jira/browse/YARN-10907
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Szilard Nemeth
> Assignee: Benjamin Teke
> Priority: Major
>
> Context objects can be a sign of a code smell as they can contain many, possible loosely related references to other objects.
> CapacitySchedulerContext seems like this.
> This task is to investigate how the field AbstractCSQueue#csContext is being used from this class and possibly keeping the usage of this context class on the bare minimum.
> Related article: https://wiki.c2.com/?ContextObjectsAreEvil
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org