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

Improve tag iteration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.0
    • Fix Version/s: 0.98.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The tag iterator was moved out of KeyValue into CellUtil and marked as for tests only. HBASE-7662 and HBASE-7663 will use it. The 'length' parameter was made into a short, which is inconvenient for most callers. The methods on Tag for getting tag data offset and length in the tag buffer were made default scope so it's impossible outside of the package to find the tag data in the backing buffer without calling Tag#asList, which might do some unwanted object allocations. Tags#asList also inconveniently uses short for 'length'.

        Attachments

        1. 9962.patch
          2 kB
          Andrew Kyle Purtell

          Issue Links

            Activity

              People

              • Assignee:
                apurtell Andrew Kyle Purtell
                Reporter:
                apurtell Andrew Kyle Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: