Hadoop Common
  1. Hadoop Common
  2. HADOOP-7444

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Issue Links

          Activity

          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.23.0 [ 12315569 ]
          Resolution Fixed [ 1 ]
          Todd Lipcon made changes -
          Attachment hadoop-7444.txt [ 12486254 ]
          Todd Lipcon made changes -
          Link This issue blocks HADOOP-7443 [ HADOOP-7443 ]
          Todd Lipcon made changes -
          Link This issue blocks HDFS-2129 [ HDFS-2129 ]
          Todd Lipcon made changes -
          Attachment hadoop-7444.txt [ 12485453 ]
          Todd Lipcon made changes -
          Link This issue blocks HADOOP-7445 [ HADOOP-7445 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Todd Lipcon [ tlipcon ]
          Todd Lipcon made changes -
          Attachment hadoop-7444.txt [ 12485374 ]
          Todd Lipcon made changes -
          Field Original Value New Value
          Link This issue is part of HDFS-2080 [ HDFS-2080 ]
          Todd Lipcon created issue -

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development