[jira] [Updated] (YARN-10907) Minimize usages of AbstractCSQueue#csContext

2024-02-11 Thread Shilun Fan (Jira)


 [ 
https://issues.apache.org/jira/browse/YARN-10907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan updated YARN-10907:
--
  Component/s: capacity scheduler
 Target Version/s: 3.4.0
Affects Version/s: 3.4.0

> Minimize usages of AbstractCSQueue#csContext
> 
>
> Key: YARN-10907
> URL: https://issues.apache.org/jira/browse/YARN-10907
> Project: Hadoop YARN
>  Issue Type: Sub-task
>  Components: capacity scheduler
>Affects Versions: 3.4.0
>Reporter: Szilard Nemeth
>Assignee: Benjamin Teke
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 7h 40m
>  Remaining Estimate: 0h
>
> 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.20.10#820010)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-10907) Minimize usages of AbstractCSQueue#csContext

2021-12-13 Thread Szilard Nemeth (Jira)


 [ 
https://issues.apache.org/jira/browse/YARN-10907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szilard Nemeth updated YARN-10907:
--
Fix Version/s: 3.4.0

> 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
>  Labels: pull-request-available
> Fix For: 3.4.0
>
>  Time Spent: 7h 20m
>  Remaining Estimate: 0h
>
> 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.20.1#820001)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-10907) Minimize usages of AbstractCSQueue#csContext

2021-10-19 Thread Szilard Nemeth (Jira)


 [ 
https://issues.apache.org/jira/browse/YARN-10907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Szilard Nemeth updated YARN-10907:
--
Summary: Minimize usages of AbstractCSQueue#csContext  (was: Investigate: 
Minimize usages of AbstractCSQueue#csContext)

> 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
>  Labels: pull-request-available
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org