hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Kellerman (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-716) TestGet2.testGetClosestBefore fails with hadoop-0.17.1
Date Fri, 27 Jun 2008 23:05:44 GMT
TestGet2.testGetClosestBefore fails with hadoop-0.17.1
------------------------------------------------------

                 Key: HBASE-716
                 URL: https://issues.apache.org/jira/browse/HBASE-716
             Project: Hadoop HBase
          Issue Type: Bug
          Components: regionserver
    Affects Versions: 0.2.0
            Reporter: Jim Kellerman
             Fix For: 0.2.0


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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message