[
https://issues.apache.org/jira/browse/YARN-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993790#comment-15993790
]
Carlo Curino commented on YARN-6547:
------------------------------------
[~wangda] as promised, this patch provides a way to do "tighter" tests. It
leverages the {{InvariantChecker}} both during execution, and at the end, to
verify that the values in {{QueueMetrics}} and {{JvmMetrics}} match our
expectations.
The current set of invariants ({{ongoing-invariants.txt}} and
{{exit-invariants.txt}}) are just place-holders, we should work together on
defining the tightest but robust set of invariants.
This is easier if we setup in the traces runs that are short enough to run to
completion, otherwise (current situation in patch v0) the speed of simulation
affects at which point we interrupt
the run and the exit invariants are hard to make robust and tight at the same
time.
It might make sense to separate this patch (using loose invariants) from a
patch that only changes the set of invariants and trace files to make them
tighter and robust.
> Enhance SLS-based tests leveraging invariant checker
> ----------------------------------------------------
>
> Key: YARN-6547
> URL: https://issues.apache.org/jira/browse/YARN-6547
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Carlo Curino
> Assignee: Carlo Curino
> Attachments: YARN-6547.v0.patch
>
>
> We can leverage {{InvariantChecker}}s to provide a more thorough validation
> of SLS-based tests. This patch introduces invariants checking during and at
> the end of the run.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]