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

ColumnFamilySplit length field is not serialized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      The CqlRecordReader uses the InputSplit.getLength() method to populate it's totalRowCount field. It uses this when calculating the progress of a job.

      The length field of ColumnFamilySplit is not serialized by the write and readFields methods so the totalRowCount in CqlRecordReader is always 0.

        Attachments

        1. 9380-1.txt
          0.9 kB
          Philip Thompson
        2. 9380-2.txt
          0.8 kB
          Philip Thompson
        3. 9380-3.txt
          1 kB
          Philip Thompson

          Activity

            People

            • Assignee:
              philipthompson Philip Thompson
              Reporter:
              mike_tr_adamson Mike Adamson
              Authors:
              Philip Thompson
              Reviewers:
              Mike Adamson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: