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

Add Checksum API to verify and calculate checksums "in bulk"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • None
    • None
    • Reviewed

    Description

      Currently, the various checksum types only provide the capability to calculate the checksum of a range of a byte array. For HDFS-2080, it's advantageous to provide an API that, given a buffer with some number of "checksum chunks", can either calculate or verify the checksums of all of the chunks. For example, given a 4KB buffer and a 512-byte chunk size, it would calculate or verify 8 CRC32s in one call.

      This allows efficient JNI-based checksum implementations since the cost of crossing the JNI boundary is amortized across many computations.

      Attachments

        1. hadoop-7444.txt
          12 kB
          Todd Lipcon
        2. hadoop-7444.txt
          12 kB
          Todd Lipcon
        3. hadoop-7444.txt
          7 kB
          Todd Lipcon

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: