Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 3.1.0
    • Component/s: fs/s3
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      Hide
      now that S3A has a checksum, you need to explicitly disable checksums when uploading from HDFS : use -skipCrc

      checksum verification does work between s3a buckets, provided the block size on uploads was identical
      Show
      now that S3A has a checksum, you need to explicitly disable checksums when uploading from HDFS : use -skipCrc checksum verification does work between s3a buckets, provided the block size on uploads was identical

      Description

      If the etags of blobs were exported via getFileChecksum(), it'd be possible to probe for a blob being in sync with a local file. Distcp could use this to decide whether to skip a file or not.

      Now, there's a problem there: distcp needs source and dest filesystems to implement the same algorithm. It'd only work out the box if you were copying between S3 instances. There are also quirks with encryption and multipart: s3 docs. At the very least, it's something which could be used when indexing the FS, to check for changes later.

        Attachments

        1. HADOOP-13282-001.patch
          4 kB
          Steve Loughran
        2. HADOOP-13282-002.patch
          16 kB
          Steve Loughran
        3. HADOOP-13282-003.patch
          16 kB
          Steve Loughran
        4. HADOOP-13282-004.patch
          16 kB
          Steve Loughran

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: