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

TestGet2.testGetClosestBefore fails with hadoop-0.17.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • regionserver
    • None

    Description

      TestGet2.testGetClosestBefore fails with hadoop-0.17.1

      After the rows are flushed to a MapFile, we get no result when we try to find the closest row before 038. We find 035, but that is deleted. So we advance, the next record is 040 which is after 038 and we give up. This results in a null result being passed back to the test which then dies with an NPE because it expects that getClosestRowBefore should find row 030.

      It appears that there is no logic to back up from a candidate row if the candidate came before the desired key but is deleted. We should find the row before.

      I'm guessing that this is failing because hadoop-0.17.1 incorporates HADOOP-3472 (MapFile.Reader getClosest() function returns incorrect results when before is true)

      Attachments

        Issue Links

          Activity

            People

              jimk Jim Kellerman
              jimk Jim Kellerman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: