Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

"Mutation of bytes is too large" Exception by apache-cassandra



Apache Cassandra discards mutations that are larger than a predetermined size.

Error Messages

java.lang.RuntimeException: java.lang.IllegalArgumentException: Mutation of xxxx bytes is too large for the maximum size of yyyy
at org.apache.cassandra.service.StorageProxy$ ~[apache-cassandra-2.1.14.jar:2.1.14]

Steps to Reproduce

Run the dataflow batch. Batch execution fails with timeout exception.

Root Cause

By design intent, the maximum allowed segment size is 50% of the configured commit_log_segment_size_in_mb. As the segment size exceeds 50% of the configured commit log segment size, the error displays and Cassandra discards the write.


Perform the following local-change:
  1. Increase or set commit_log_segment_size_in_mb in cassandra.yaml file through prconfig.xml as <env name="dnode/yaml/commitlog_segment_size_in_mb" value="Value_in_mb"/>.
  2. Restart the server after applying the above modification.


Published July 23, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us