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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 3.3.0
    • fs, fs/azure, fs/s3, fs/swift
    • 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-004.patch
          22 kB
          Steve Loughran
        2. HADOOP-14630-003.patch
          23 kB
          Steve Loughran
        3. HADOOP-14630-002.patch
          17 kB
          Steve Loughran
        4. HADOOP-14630-001.patch
          17 kB
          Steve Loughran

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: