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

hbase scanner api returns null row names, or skips row names if different column families do not have entries for some rows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      I'm attaching a test case that fails.

      I noticed that if I create a table with two column families, and start a scanner on a row which only has an entry for one column family, the scanner will skip ahead to the row name for which the other column family has an entry.

      eg., if I insert rows so my table will look like this:

      row - a:a - b:b
      aaa   a:1   nil
      bbb   a:2   b:2
      ccc   a:3   b:3
      

      The scanner will tell me my table looks something like this:

      row - a:a - b:b
      bbb   a:1   b:2
      bbb   a:2   b:3
      

      Attachments

        1. patch.txt
          17 kB
          Jim Kellerman
        2. TestScannerAPI.java
          2 kB
          Michael Bieniosek

        Activity

          People

            Unassigned Unassigned
            bien Michael Bieniosek
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: