Hi,

Are you writing the batch to same partition? If not, there is a much stricter 
limit (I think 50Kb).
Check https://docs.datastax.com/en/cql/3.3/cql/cql_using/useBatch.html , and 
followups.

From: Goutham reddy <goutham.chiru...@gmail.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Tuesday, February 27, 2018 at 9:55 PM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Subject: Batch too large exception

Hi,
I have been getting batch too large exception when performing WRITE from Client 
application. My insert size is 5MB, so I have to split the 10 insert objects to 
insert at one go. It save some inserts and closes after some uncertain time. 
And it is a wide column table, we do have 113 columns. Can anyone kindly 
provide solution what was going wrong on my execution. Appreciate your help.

Regards
Goutham Reddy

Reply via email to