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

Fix MockRM/MockAM#waitForState sleep too long

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0, 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      MockRM#waitForState methods currently sleep for too long (2 seconds and 1 second). This leads to slow tests and sometimes failures if the App/AppAttempt moves to another state.

        Attachments

        1. YARN-2921.008.patch
          15 kB
          Tsuyoshi Ozawa
        2. YARN-2921.008.patch
          15 kB
          Tsuyoshi Ozawa
        3. YARN-2921.007.patch
          15 kB
          Tsuyoshi Ozawa
        4. YARN-2921.006.patch
          14 kB
          Tsuyoshi Ozawa
        5. YARN-2921.005.patch
          14 kB
          Tsuyoshi Ozawa
        6. YARN-2921.004.patch
          10 kB
          Tsuyoshi Ozawa
        7. YARN-2921.003.patch
          8 kB
          Tsuyoshi Ozawa
        8. YARN-2921.002.patch
          8 kB
          Tsuyoshi Ozawa
        9. YARN-2921.001.patch
          5 kB
          Tsuyoshi Ozawa

          Issue Links

            Activity

              People

              • Assignee:
                ozawa Tsuyoshi Ozawa
                Reporter:
                kasha Karthik Kambatla
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: