[
https://issues.apache.org/jira/browse/YARN-9754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915952#comment-16915952
]
Íñigo Goiri commented on YARN-9754:
-----------------------------------
To make it easier to read, it would be nice to do: {{super.amtype = "dag";}},
or even having a setter.
In general, the relation between AMSimulator and DAGAMSimulator is a little
half way, for example {{totalContainers}} could just be
{{allContainers.size()}} all the time but then the parent would not understand
it.
Can we do a better object abstraction here?
Other comments:
* {{ugi.doAs()}} could just use a lambda.
* Can we have a test that actually tests delays?
> Add support for arbitrary DAG AM Simulator.
> -------------------------------------------
>
> Key: YARN-9754
> URL: https://issues.apache.org/jira/browse/YARN-9754
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Abhishek Modi
> Assignee: Abhishek Modi
> Priority: Major
> Attachments: YARN-9754.001.patch, YARN-9754.002.patch,
> YARN-9754.003.patch
>
>
> Currently, all map containers are requests as soon as Application master
> comes up and then all reducer containers are requested. This doesn't get
> flexibility to simulate behavior of DAG where various number of containers
> would be requested at different time.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]