Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1069

Deterministic MiniYARNCluster

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0-beta
    • None
    • test
    • None

    Description

      Currently the order of events in MiniYarnCluster is nondeterministic as the events are triggered by scheduled timers. This makes it difficult to write tests since some erroneous scenarios are triggered only after some particular sequence of events. An example is the bug in YARN-779 where without this control over events, writing a deterministic unit test is not possible. We should modify the source to allow both manual invocation of events as well as via existing periodic timers. MiniYarnCluster can then expose such methods for more control over events ordering.

      Attachments

        Activity

          People

            maysamyabandeh Maysam Yabandeh
            maysamyabandeh Maysam Yabandeh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: