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

Anup Agarwal commented on YARN-1187:
------------------------------------

Currently the alarm events which have the same time instant are sorted 
arbitrarily using the alarm's UUID. This can cause causally dependent events to 
be triggered/handled out of order.

To fix this, a sequence number – that is incremented at creation of an alarm -- 
can be added to each alarm so that causal order between events is preserved in 
the simulation.

> Add discrete event-based simulation to yarn scheduler simulator
> ---------------------------------------------------------------
>
>                 Key: YARN-1187
>                 URL: https://issues.apache.org/jira/browse/YARN-1187
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Wei Yan
>            Assignee: Andrew Chung
>            Priority: Major
>         Attachments: YARN-1187 design doc.pdf, 
> YARN-1187-branch-2.1.3.001.patch, YARN-1187-trunk.001.patch
>
>
> Follow the discussion in YARN-1021.
> Discrete event simulation decouples the running from any real-world clock. 
> This allows users to step through the execution, set debug points, and 
> definitely get a deterministic rexec. 



--
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