Cassandra
  1. Cassandra
  2. CASSANDRA-3945

Support incremental/batch sizes for BulkRecordWriter, due to GC overhead issues

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When loading large amounts of data, currently the BulkRecordWriter will write out all the sstables, then stream them. This actually caused us GC overhead issues, due to our heap sizes for reducers. We ran into a problem where the number of SSTables on disk that had to be open would cause the jvm process to die. We also wanted a way to incrementally stream them as we created them. I created support for setting this, the default behavior is wait for them to be created. But if you increase to >= 1, you can determine the batch size.

        Issue Links

          Activity

          Hide
          Chris Goffinet added a comment -

          Need to wait on CASSANDRA-3859 getting commited before I can submit patch.

          Show
          Chris Goffinet added a comment - Need to wait on CASSANDRA-3859 getting commited before I can submit patch.
          Hide
          Sylvain Lebresne added a comment -

          Moving to 1.1.1. Sound too much involved and too late for 1.1.0.

          Show
          Sylvain Lebresne added a comment - Moving to 1.1.1. Sound too much involved and too late for 1.1.0.
          Hide
          Jonathan Ellis added a comment -

          3859 has been committed.

          Show
          Jonathan Ellis added a comment - 3859 has been committed.
          Hide
          Jonathan Ellis added a comment -

          CASSANDRA-5555 fixes this

          Show
          Jonathan Ellis added a comment - CASSANDRA-5555 fixes this

            People

            • Assignee:
              Unassigned
              Reporter:
              Chris Goffinet
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development