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

word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature

    XMLWordPrintableJSON

    Details

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

      Description

      In recent commits, ColumnFamilyInputFormat's signature has changed to use ByteBuffers. This signature needs to match the word_count example and the pig load func. There are a few options:
      1) The ColumnFamilyInputFormat signature itself didn't need to change - it could translate from byte[] to ByteBuffer internally.
      2) Change the word_count and pig load func to use ByteBuffer
      3) Just use the AvroColumnFamilyInputFormat.

      I think option 1 would be best for now since that's less of a change.

        Attachments

        1. 1725_v1.txt
          5 kB
          T Jake Luciani

          Activity

            People

            • Assignee:
              tjake T Jake Luciani
              Reporter:
              jeromatron Jeremy Hanna
              Authors:
              T Jake Luciani
              Reviewers:
              Jeremy Hanna
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: