Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11736

OIV tests should not write outside 'target' directory.

    XMLWordPrintableJSON

Details

    Description

      A few tests use Files.createTempDir() from Guava package, but do not set java.io.tmpdir system property. Thus the temp directory is created in unpredictable places and is not being cleaned up by mvn clean.
      This was probably introduced in TestOfflineImageViewer and then replicated in TestCheckpoint, TestStandbyCheckpoints.

      Attachments

        1. HDFS-11736-branch-2.001.patch
          4 kB
          Yiqun Lin
        2. HDFS-11736.003.patch
          4 kB
          Yiqun Lin
        3. HDFS-11736-branch-2.7.002.patch
          3 kB
          Yiqun Lin
        4. HDFS-11736-branch-2.7.001.patch
          2 kB
          Yiqun Lin
        5. HDFS-11736.002.patch
          3 kB
          Yiqun Lin
        6. HDFS-11736.001.patch
          3 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: