Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7322

CqlPagingRecordReader returns partial or no data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 rc1
    • None
    • None
    • Normal

    Description

      In trying to solve the last problem with CASSANDRA-7241, this bisected to CASSANDRA-6379. On the surface of course this doesn't seem right, so I repeated the bisect (both of which were completely manual and tested by hand) and landed at the same place, and since it did touch getSplits I think it's the right candidate.

      What I see is that CPRR gets all the splits, which with vnodes are mostly empty since there's very little data in the test. Before CASSANDRA-6379 it iterates them all and succeeds by eventually finding it. When it fails, however, it only checks the first split and gives up, even if it does happen to get lucky and find one row.

      If I use data generated before CASSANDRA-6379, it works fine, but not with data generated afterward. I suspect this isn't specific to CPRR but hadoop in general, it's just been easier for me to spot with CPRR, perhaps due to the nature of the test.

      Attachments

        1. 7322.txt
          0.9 kB
          Tom Hobbs

        Activity

          People

            thobbs Tom Hobbs
            brandon.williams Brandon Williams
            Tom Hobbs
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: