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

Avoid possible NPE in HalfStoreFileReader seekBefore()

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      HalfStoreFileReader has firstKey defined as null. While retrieving first key, if the file is empty, no value will be provided to firstKey and hence during seekBefore, it might result into NPE.

      Attachments

        1. HBASE-22520-master-00.patch
          2 kB
          Viraj Jasani

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: