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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7.0 rc 1
    • None
    • None
    • 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

            tjake T Jake Luciani
            jeromatron Jeremy Hanna
            T Jake Luciani
            Jeremy Hanna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: