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

Contract Tests to verify create, mkdirs and rename under a file is forbidden

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0
    • Fix Version/s: None
    • Component/s: fs, fs/azure, fs/s3, fs/swift
    • Labels:
      None

      Description

      Object stores can get into trouble in ways which an FS would never, do, ways so obvious we've never done tests for them. We know what the problems are: test for file and dir creation directly/indirectly under other files

      • mkdir(file/file)
      • mkdir(file/subdir)
      • dir under file/subdir/subdir
      • dir/dir2/file, verify dir & dir2 exist
      • dir/dir2/dir3, verify dir & dir2 exist
      • rename(src, file/dest)
      • rename(src, file/dir/dest)

        Attachments

        1. HADOOP-14630-001.patch
          17 kB
          Steve Loughran
        2. HADOOP-14630-002.patch
          17 kB
          Steve Loughran
        3. HADOOP-14630-003.patch
          23 kB
          Steve Loughran
        4. HADOOP-14630-004.patch
          22 kB
          Steve Loughran

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: