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

Allow a Job Configuration to control the consistency level with which reads and writes occur for mapreduce jobs.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.5
    • None
    • None

    Description

      Allow a Job Configuration to control the consistency level with which reads and writes occur for mapreduce jobs. This would be useful if we were doing statistical rollups and wanted to fail if consistency isn't met (W + R <= N as described by http://wiki.apache.org/cassandra/ArchitectureOverview). An example of a situation where this might happen would be if a set of cassandra nodes became partitioned from the other nodes, but were still accepting some writes with ConsistencyLevel 1/2 (in the case that writes were local to the partition). Then statistical rollup jobs might succeed without those accepted writes being included, and this would not be desirable.

      Attachments

        1. consistencylevelpatch.txt
          4 kB
          Eldon Stegall

        Activity

          People

            Unassigned Unassigned
            eldondev Eldon Stegall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: