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

KeyValue validation should check for null byte array

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.0.4, 2.1.3
    • 3.0.0-alpha-1, 2.2.0, 2.3.0, 2.1.4
    • None
    • None
    • Reviewed

    Description

      HBASE-21401 added some nice validation checks to throw precise errors if a KeyValue is constructed using invalid parameters. However it implicitly assumes that the KeyValue buffer is not null. It should validate this assumption and alert accordingly rather than throwing an NPE from an unrelated check.

      Attachments

        1. HBASE-22032.v01.patch
          3 kB
          Geoffrey Jacoby
        2. HBASE-22032.v02.patch
          3 kB
          Geoffrey Jacoby
        3. HBASE-22032.v03.patch
          3 kB
          Geoffrey Jacoby

        Issue Links

          Activity

            People

              gjacoby Geoffrey Jacoby
              gjacoby Geoffrey Jacoby
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: