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

Add a memcmp-compatible interface for key types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None
    • Reviewed

    Description

      Sometimes it's beneficial to treat types (like BytesWritable and Text) as byte arrays, agnostic to their type. Adding an interface to tag key types as amenable to this treatment can permit optimizations and reuse for that subset of types in tools and libraries.

      Attachments

        1. 4151-0.patch
          15 kB
          Christopher Douglas
        2. 4151-1.patch
          17 kB
          Christopher Douglas
        3. 4151-2.patch
          18 kB
          Christopher Douglas
        4. 4151-3.patch
          19 kB
          Christopher Douglas
        5. 4151-4.patch
          18 kB
          Christopher Douglas

        Issue Links

          Activity

            People

              cdouglas Christopher Douglas
              cdouglas Christopher Douglas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: