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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • test
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: