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

ColumnFamilySplit length field is not serialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.2.0 beta 1
    • None
    • None
    • 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-3.txt
          1 kB
          Philip Thompson
        2. 9380-2.txt
          0.8 kB
          Philip Thompson
        3. 9380-1.txt
          0.9 kB
          Philip Thompson

        Activity

          People

            philipthompson Philip Thompson
            mike_tr_adamson Mike Adamson
            Philip Thompson
            Mike Adamson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: