Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13345 S3Guard: Improved Consistency for S3A
  3. HADOOP-13736

Change PathMetadata to hold S3AFileStatus instead of FileStatus.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • fs/s3
    • None

    Description

      S3AFileStatus is implemented differently with FileStatus, for instance S3AFileStatus#isEmptyDirectory() is not implemented in FileStatus(). And access_time, block_replication, owner, group and a few other fields are not meaningful in S3AFileStatus.

      So in the scope of S3guard, it should use S3AFileStatus in instead of FileStatus in PathMetadaa to avoid casting the types back and forth in S3A.

      Attachments

        1. HADOOP-13736-HADOOP-13345.006.patch
          51 kB
          Sean Mackrory
        2. HADOOP-13736-HADOOP-13345.005.patch
          52 kB
          Lei (Eddy) Xu
        3. HADOOP-13736-HADOOP-13345.004.patch
          52 kB
          Lei (Eddy) Xu
        4. HADOOP-13736-HADOOP-13345.003.patch
          49 kB
          Lei (Eddy) Xu
        5. HADOOP-13736-HADOOP-13345.002.patch
          49 kB
          Lei (Eddy) Xu
        6. HADOOP-13736-HADOOP-13345.001.patch
          17 kB
          Lei (Eddy) Xu
        7. HADOOP-13736-HADOOP-13345.000.patch
          16 kB
          Lei (Eddy) Xu
        8. HADOOP-13736.wip-01.patch
          22 kB
          Lei (Eddy) Xu
        9. HADOOP-13736.000.patch
          16 kB
          Lei (Eddy) Xu

        Issue Links

          Activity

            People

              eddyxu Lei (Eddy) Xu
              eddyxu Lei (Eddy) Xu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: