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

ColumnFamilyOutputFormat should support writing to multiple column families

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.0
    • None
    • None

    Description

      It is not currently possible to output records to more than one column family in a single reducer. Considering that writing values to Cassandra often involves multiple column families (i.e. updating your index when you insert a new value), this seems overly restrictive. I am submitting a patch that moves the specification of column family from the job configuration to the write() call in ColumnFamilyRecordWriter.

      Attachments

        1. trunk-4208-v3.txt
          6 kB
          Robert Strickland
        2. cassandra-1.1-4208-v4.txt
          6 kB
          Robert Strickland
        3. cassandra-1.1-4208-v3.txt
          6 kB
          Robert Strickland
        4. cassandra-1.1-4208-v2.txt
          6 kB
          Robert Strickland
        5. cassandra-1.1-4208.txt
          6 kB
          Robert Strickland
        6. trunk-4208-v2.txt
          11 kB
          Robert Strickland
        7. trunk-4208.txt
          9 kB
          Robert Strickland

        Issue Links

          Activity

            People

              rstrickland Robert Strickland
              rstrickland Robert Strickland
              Robert Strickland
              T Jake Luciani
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: