[
https://issues.apache.org/jira/browse/YARN-7929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370834#comment-16370834
]
Young Chen commented on YARN-7929:
----------------------------------
Hi [~yangjiandan], I just committed a patch to enable generic AM simulators for
synthetic load generation, and after giving this patch a quick read through, I
think you'll run into some merging issues. Let me know if you have any
questions about the code I committed, I'll be happy to help.
On a side note, I was actually looking to enable Opportunistic containers in
SLS, so I'm very much looking forward to this patch!
Quick question: What's the purpose of adding the "water level" to the
NMSimulator?
{code:java}
if (waterLevel > 0 && waterLevel <=1) {
int pMemUsed = (int) (node.getTotalCapability().getMemorySize() *
waterLevel);
float cpuUsed = node.getTotalCapability().getVirtualCores() * waterLevel;
ResourceUtilization resourceUtilization =
ResourceUtilization.newInstance(pMemUsed, pMemUsed, cpuUsed);
ns.setContainersUtilization(resourceUtilization);
ns.setNodeUtilization(resourceUtilization);
}
{code}
> SLS supports setting container execution
> ----------------------------------------
>
> Key: YARN-7929
> URL: https://issues.apache.org/jira/browse/YARN-7929
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: scheduler-load-simulator
> Reporter: Jiandan Yang
> Assignee: Jiandan Yang
> Priority: Major
> Attachments: YARN-7929.001.patch
>
>
> SLS currently support three tracetype, SYNTH, SLS and RUMEN, but trace file
> can not set execution type of container.
> This jira will introduce execution type in SLS to help better simulation.
> This will help the perf testing with regarding to the Opportunistic
> Containers.
> RUMEN has default execution type GUARANTEED
> SYNTH set execution type by field map_execution_type and
> reduce_execution_type
> SLS set execution type by field container.execution_type
> For compatibility set GUARANTEED as default value when not setting above
> fields in trace file
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]