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

Batching in CqlRecordWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.6
    • None
    • None
    • Cluster of 12 nodes, each node with 256-384 vnodes. RPC threads capped at 2048.

    Description

      We're writing from Pig map tasks, about 20 million records of one integer each.
      For the case of 12 nodes, with 256-384 vnodes per node, we get around 4000 threads per mapper. This obviously overloads the nodes, since the number of RPC threads are capped, and the write fails.
      Also, each transfer is only in the order of a few bytes of payload. Clearly batching is a good solution.

      Attachments

        1. inet_patch.diff
          2 kB
          Christian Rolf
        2. batchWrite.txt
          7 kB
          Christian Rolf

        Activity

          People

            ccrolf Christian Rolf
            ccrolf Christian Rolf
            Christian Rolf
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: