[ 
https://issues.apache.org/jira/browse/YARN-9537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971376#comment-16971376
 ] 

Yufei Gu commented on YARN-9537:
--------------------------------

Agreed with [~snemeth]. The production code shouldn't do the null checking. 
Class FairScheduler should make sure that {{getConf}} won't be null before 
creating any {{FSAppAttempt}} object. Hi [~cane], can you refactor the test 
code since it fails a test  case per Hadoop QA?


> Add configuration to disable AM preemption
> ------------------------------------------
>
>                 Key: YARN-9537
>                 URL: https://issues.apache.org/jira/browse/YARN-9537
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: fairscheduler
>    Affects Versions: 3.2.0, 3.1.2
>            Reporter: zhoukang
>            Assignee: zhoukang
>            Priority: Major
>         Attachments: YARN-9537-002.patch, YARN-9537.001.patch, 
> YARN-9537.003.patch, YARN-9537.004.patch, YARN-9537.005.patch
>
>
> In this issue, i will add a configuration to support disable AM preemption.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to