Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-761

Unit tests should cleanup created files in /tmp. It causes tests to fail if more than one users run tests on same machine.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: test
    • Labels:
      None

      Description

      TestMiniMRLocalFS test cases creates /tmp/wc/input/, which is not cleaned up, any other user running test on same machine simultaneously or later will see test failures.
      It should either use a temp directory in the build/test or use java's File.createTempFile method for temporary data and then clean it up.

        Attachments

        1. HADOOP-761.patch
          14 kB
          Nigel Daley

          Activity

            People

            • Assignee:
              nidaley Nigel Daley
              Reporter:
              sanjay.dahiya Sanjay Dahiya
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: