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

Tests with 12345 as hard-coded port break jenkins


    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Environment:

      ASF Jenkins

    • Target Version/s:
    • Hadoop Flags:


      A lot of the YARN tests have hard-coded the port 12345 for their services to come up on.

      This makes it impossible to have scheduled or precommit tests to run consistently on the ASF jenkins hosts. Instead the tests fail regularly and appear to get ignored completely.

      A quick grep of "12345" shows up many places in the test suite where this practise has developed.

      • All BaseContainerManagerTest subclasses
      • TestNodeManagerShutdown
      • TestContainerManager
        + others

      This needs to be addressed through portscanning and dynamic port allocation. Please can someone do this.


        1. YARN-3528.patch
          8 kB
          Brahma Reddy Battula
        2. YARN-3528-002.patch
          8 kB
          Brahma Reddy Battula
        3. YARN-3528-003.patch
          33 kB
          Brahma Reddy Battula
        4. YARN-3528-004.patch
          27 kB
          Brahma Reddy Battula
        5. YARN-3528-005.patch
          16 kB
          Brahma Reddy Battula
        6. YARN-3528-006.patch
          24 kB
          Brahma Reddy Battula
        7. YARN-3528-007.patch
          23 kB
          Brahma Reddy Battula
        8. YARN-3528-008.patch
          24 kB
          Brahma Reddy Battula
        9. YARN-3528-009.patch
          22 kB
          Brahma Reddy Battula
        10. YARN-3528-011.patch
          22 kB
          Brahma Reddy Battula
        11. YARN-3528-branch2.patch
          23 kB
          Brahma Reddy Battula

          Issue Links



              • Assignee:
                brahmareddy Brahma Reddy Battula
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                11 Start watching this issue


                • Created: