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

invoke MockRM#drainEvents implicitly in MockRM methods to reduce test failures

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      seen many test failures related to RMApp/RMAppattempt comes to some state but some event are not processed in rm event queue or scheduler event queue, cause test failure, seems we could implicitly invokes drainEvents(should also drain sheduler event) in some mockRM method like waitForState

      Attachments

        1. YARN-5375.12.patch
          34 kB
          sandflee
        2. YARN-5375.12.new.patch
          34 kB
          sandflee
        3. YARN-5375.11.patch
          34 kB
          sandflee
        4. YARN-5375.10.patch
          30 kB
          Rohith Sharma K S
        5. YARN-5375.09.patch
          30 kB
          sandflee
        6. YARN-5375.08.patch
          30 kB
          sandflee
        7. YARN-5375.07-sync-statestore.patch
          39 kB
          sandflee
        8. YARN-5375.07-drain-statestore.patch
          38 kB
          sandflee
        9. YARN-5375.06.patch
          36 kB
          sandflee
        10. YARN-5375.05.patch
          36 kB
          sandflee
        11. YARN-5375.04.patch
          33 kB
          sandflee
        12. YARN-5375.03.patch
          39 kB
          sandflee
        13. YARN-5375.01.patch
          33 kB
          sandflee

        Issue Links

          Activity

            People

              sandflee sandflee
              sandflee sandflee
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: