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

ColumnFamilyRecordReader hadoop integration fails with ghost keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.12, 1.1.4
    • None
    • None
    • Low

    Description

      When running hadoop-cassandra jobs with range queries over ghost keys, the ColumnFamilyRecordReader throws an exception if the last key in a slice_range query is a ghost key.

      This seems to be related to changes made in CASSANDRA-2855 to prevent ghost keys appearing in a hadoop map.

      The call stack trace is attached.

      I made a one-line change to ColumnFamilyRecordReader.java, which seems to solve this issue for us.

      Attachments

        1. 4466-v0.patch
          0.7 kB
          Niel Drummond
        2. 4466-stack
          2 kB
          Niel Drummond
        3. 4466.txt
          1 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            ndrummond@rim.com Niel Drummond
            Jonathan Ellis
            Niel Drummond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: