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

Prevent resource leaks in TestClientRMService.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      While working on YARN-11360, I noticed a few problems in TestClientRMService that made it difficult to work with. Tests do not guarantee that servers they start up get shutdown. If an individual test fails, then it can leave TCP sockets bound, causing subsequent tests in the suite to fail on their socket bind attempts for the same port. There is also a file generated by a test that is leaking outside of the build directory into the source tree.

      Attachments

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: