Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-7023

TestHadoopArchiveLogs.testCheckFilesAndSeedApps fails on rerun

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0, 2.10.0, 2.9.1, 3.0.3
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Since the test doesn't clean up the created "logs" dir, when rerunning it fails on this line:

      Assert.assertEquals(0, hal.eligibleApplications.size());
      hal.checkFilesAndSeedApps(fs, rootLogDir, suffix);
       >>> Assert.assertEquals(1, hal.eligibleApplications.size());
      
      java.lang.AssertionError: 
      Expected :1
      Actual   :2 (or more for consecutive reruns)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                GergelyNovak Gergely Novák
                Reporter:
                GergelyNovak Gergely Novák
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: