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

TestResourceLocalizationService#testParallelDownloadAttemptsForPublicResource sometimes fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Saw the following test failure:

      Running org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService
      Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 12.011 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService
      testParallelDownloadAttemptsForPublicResource(org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService)  Time elapsed: 0.586 sec  <<< FAILURE!
      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertTrue(Assert.java:52)
      	at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.testParallelDownloadAttemptsForPublicResource(TestResourceLocalizationService.java:2108)
      

      The assert occurred at this place in the code:

            // Waiting for download to start.
            Assert.assertTrue(waitForPublicDownloadToStart(spyService, 1, 200));
      

        Attachments

        1. YARN-5859.001.patch
          3 kB
          Eric Badger
        2. YARN-5859.002.patch
          5 kB
          Eric Badger

          Activity

            People

            • Assignee:
              ebadger Eric Badger
              Reporter:
              jlowe Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: