Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1619

Change the familyMap<byte[], List<KeyValue>> in put to familyMap<ImmutableBytesWritable, List<KeyValue>>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.20.0
    • None
    • None
    • None

    Description

      While working on the HBase tap and scheme for Cascading I came across a situation where you want to add a bunch of KeyValues to a Put object.
      Looking at the code for putting KeyValues in put we copy the family from the KeyValue and use that as a key. So I was thinking that it might be a good idea to just "point"
      into the KV by using a ImmutableBytesWritable and use that as the key instead. This is going to be good when working with MR jobs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            erikholstad@gmail.com Erik Holstad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: