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

Add comments to explain why Cell#getTagsLength() returns an int, rather than a short

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • API
    • None
    • Reviewed

    Description

      In the Cell interface, getTagsLength() returns a int
      But in the KeyValue implementation, tags length is of 2 bytes. Also in ExtendedCell, when explaining the KeyValue format, tags length is stated to be 2 bytes

      Any plan to update Cell interface to make getTagsLength() returns a short ?

      Attachments

        1. HBASE-17086.master.001.patch
          2 kB
          Xiang Li
        2. HBASE-17086.master.000.patch
          1 kB
          Xiang Li

        Issue Links

          Activity

            People

              xiangli Xiang Li
              xiangli Xiang Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: