Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1479

NPE in HStore#get if StoreFile only has keys < than passed key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None

    Description

      HStore#get throws a NPE because it doesn't allow MapFile.Reader#getClosest returning null. MapFile.Reader#getClosest returns null if passed a key that is > than all keys contained in the MapFile.

      Attachments

        1. hadoop1479-hstore_npe-v2.patch
          2 kB
          Michael Stack
        2. hstore_npe.patch
          2 kB
          Michael Stack

        Activity

          People

            stack Michael Stack
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: