You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Saladi Naidu <na...@yahoo.com.INVALID> on 2018/09/06 14:41:18 UTC

Mutation of bytes is too large for the maxiumum size of

We are receiving following error
9140-    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.0.10.jar:3.0.10]
9141-    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]

9142:WARN  [SharedPool-Worker-1] 2018-09-06 14:29:46,071 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-1,5,main]: {}

9143-java.lang.IllegalArgumentException: Mutation of 16777251 bytes is too large for the maximum size of 16777216

9144-    at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:256) ~[apache-cassandra-3.0.10.jar:3.0.10]


I found following link that explained the cause 
By design intent the maximum allowed segment size is 50% of the configured commit_log_segment_size_in_mb. This is so Cassandra avoids writing segments with large amounts of empty space.To elaborate; up to two 32MB segments will fit into 64MB, however 40MB will only fit once leaving a larger amount of unused space. 
"I would like to find what table/column family this write/mutation is causing this error so that I can reach out to right application team, log does not provide any details regarding the mutation at all, is there a way to find that out
Mutation of bytes is too large for the maxiumum size of
  
|  
|   
|   
|   |    |

   |

  |
|  
|   |  
Mutation of bytes is too large for the maxiumum size of
 Summary Apache Cassandra will discard mutations larger than a predetermined size. This note addresses why this h...  |   |

  |

  |

 


 Naidu Saladi 

Re: Mutation of bytes is too large for the maxiumum size of

Posted by Jordan West <jo...@gmail.com>.
Unfortunately, this can be pretty tricky to track down on the server. I’ve
filed https://issues.apache.org/jira/browse/CASSANDRA-14781 since I was
recently bit by this as well.

Jordan

On Mon, Sep 17, 2018 at 9:06 PM Saladi Naidu <na...@yahoo.com.invalid>
wrote:

> Any clues on this topic?
>
> Naidu Saladi
>
>
> On Thursday, September 6, 2018 9:41 AM, Saladi Naidu
> <na...@yahoo.com.INVALID> wrote:
>
>
> We are receiving following error
>
> 9140-    at
> org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105)
> [apache-cassandra-3.0.10.jar:3.0.10]
>
> 9141-    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
>
> 9142:WARN  [SharedPool-Worker-1] 2018-09-06 14:29:46,071 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-1,5,main]: {}
>
> 9143-java.lang.IllegalArgumentException: Mutation of 16777251 bytes is too large for the maximum size of 16777216
>
> 9144-    at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:256) ~[apache-cassandra-3.0.10.jar:3.0.10]
>
>
> I found following link that explained the cause
>
> By design intent the maximum allowed segment size is 50% of the configured
> commit_log_segment_size_in_mb. This is so Cassandra avoids writing segments
> with large amounts of empty space.
> To elaborate; up to two 32MB segments will fit into 64MB, however 40MB
> will only fit once leaving a larger amount of unused space.
>
> "I would like to find what table/column family this write/mutation is
> causing this error so that I can reach out to right application team, log
> does not provide any details regarding the mutation at all, is there a way
> to find that out
>
> Mutation of bytes is too large for the maxiumum size of
> <https://support.datastax.com/hc/en-us/articles/207267063-Mutation-of-x-bytes-is-too-large-for-the-maxiumum-size-of-y->
>
> Mutation of bytes is too large for the maxiumum size of
> Summary Apache Cassandra will discard mutations larger than a
> predetermined size. This note addresses why this h...
>
> <https://support.datastax.com/hc/en-us/articles/207267063-Mutation-of-x-bytes-is-too-large-for-the-maxiumum-size-of-y->
>
>
>
>
> Naidu Saladi
>
>
>

Re: Mutation of bytes is too large for the maxiumum size of

Posted by Saladi Naidu <na...@yahoo.com.INVALID>.
Soumya,Thanks for the suggestion and yes enabling debugging is an option but it is very tedious and often the chatter clutters and hard to debug.
 
Naidu Saladi 
 

    On Tuesday, September 18, 2018 5:04 PM, Soumya Jena <so...@gmail.com> wrote:
 

 The client should notice this on their side . If you want to see on the server log one idea may be is to enable the debug mode .You can set it specifically for org.apache.cassandra.transportSomething like  nodetool setlogginglevel org.apache.cassandra.transport DEBUGIf you are lucky enough :)  (i.e. not too much chatter around the same time) , you should see the query just before that WARN message appears in log .
You can turn off the debugging once you get the info. 
Good luck !!

On Mon, Sep 17, 2018 at 9:06 PM Saladi Naidu <na...@yahoo.com.invalid> wrote:

Any clues on this topic? Naidu Saladi 
 

    On Thursday, September 6, 2018 9:41 AM, Saladi Naidu <na...@yahoo.com.INVALID> wrote:
 

 We are receiving following error
9140-    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.0.10.jar:3.0.10]
9141-    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]9142:WARN  [SharedPool-Worker-1] 2018-09-06 14:29:46,071 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-1,5,main]: {}9143-java.lang.IllegalArgumentException: Mutation of 16777251 bytes is too large for the maximum size of 167772169144-    at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:256) ~[apache-cassandra-3.0.10.jar:3.0.10]
I found following link that explained the cause 
By design intent the maximum allowed segment size is 50% of the configured commit_log_segment_size_in_mb. This is so Cassandra avoids writing segments with large amounts of empty space.To elaborate; up to two 32MB segments will fit into 64MB, however 40MB will only fit once leaving a larger amount of unused space. 
"I would like to find what table/column family this write/mutation is causing this error so that I can reach out to right application team, log does not provide any details regarding the mutation at all, is there a way to find that out
Mutation of bytes is too large for the maxiumum size of
  
|  
|  
|  
|   |    |

  |

  |
|  
|   |  
Mutation of bytes is too large for the maxiumum size of
 Summary Apache Cassandra will discard mutations larger than a predetermined size. This note addresses why this h...  |   |

  |

  |

 


 Naidu Saladi 


   


   

Re: Mutation of bytes is too large for the maxiumum size of

Posted by Soumya Jena <so...@gmail.com>.
The client should notice this on their side . If you want to see on the
server log one idea may be is to enable the debug mode .
You can set it specifically for org.apache.cassandra.transport
Something like  nodetool setlogginglevel org.apache.cassandra.transport
DEBUG
If you are lucky enough :)  (i.e. not too much chatter around the same
time) , you should see the query just before that WARN message appears in
log .
You can turn off the debugging once you get the info.
Good luck !!

On Mon, Sep 17, 2018 at 9:06 PM Saladi Naidu <na...@yahoo.com.invalid>
wrote:

> Any clues on this topic?
>
> Naidu Saladi
>
>
> On Thursday, September 6, 2018 9:41 AM, Saladi Naidu
> <na...@yahoo.com.INVALID> wrote:
>
>
> We are receiving following error
>
> 9140-    at
> org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105)
> [apache-cassandra-3.0.10.jar:3.0.10]
>
> 9141-    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
>
> 9142:WARN  [SharedPool-Worker-1] 2018-09-06 14:29:46,071 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-1,5,main]: {}
>
> 9143-java.lang.IllegalArgumentException: Mutation of 16777251 bytes is too large for the maximum size of 16777216
>
> 9144-    at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:256) ~[apache-cassandra-3.0.10.jar:3.0.10]
>
>
> I found following link that explained the cause
>
> By design intent the maximum allowed segment size is 50% of the configured
> commit_log_segment_size_in_mb. This is so Cassandra avoids writing segments
> with large amounts of empty space.
> To elaborate; up to two 32MB segments will fit into 64MB, however 40MB
> will only fit once leaving a larger amount of unused space.
>
> "I would like to find what table/column family this write/mutation is
> causing this error so that I can reach out to right application team, log
> does not provide any details regarding the mutation at all, is there a way
> to find that out
>
> Mutation of bytes is too large for the maxiumum size of
> <https://support.datastax.com/hc/en-us/articles/207267063-Mutation-of-x-bytes-is-too-large-for-the-maxiumum-size-of-y->
>
> Mutation of bytes is too large for the maxiumum size of
> Summary Apache Cassandra will discard mutations larger than a
> predetermined size. This note addresses why this h...
>
> <https://support.datastax.com/hc/en-us/articles/207267063-Mutation-of-x-bytes-is-too-large-for-the-maxiumum-size-of-y->
>
>
>
>
> Naidu Saladi
>
>
>

Re: Mutation of bytes is too large for the maxiumum size of

Posted by Saladi Naidu <na...@yahoo.com.INVALID>.
Any clues on this topic? Naidu Saladi 
 

    On Thursday, September 6, 2018 9:41 AM, Saladi Naidu <na...@yahoo.com.INVALID> wrote:
 

 We are receiving following error
9140-    at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.0.10.jar:3.0.10]
9141-    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]9142:WARN  [SharedPool-Worker-1] 2018-09-06 14:29:46,071 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-1,5,main]: {}9143-java.lang.IllegalArgumentException: Mutation of 16777251 bytes is too large for the maximum size of 167772169144-    at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:256) ~[apache-cassandra-3.0.10.jar:3.0.10]
I found following link that explained the cause 
By design intent the maximum allowed segment size is 50% of the configured commit_log_segment_size_in_mb. This is so Cassandra avoids writing segments with large amounts of empty space.To elaborate; up to two 32MB segments will fit into 64MB, however 40MB will only fit once leaving a larger amount of unused space. 
"I would like to find what table/column family this write/mutation is causing this error so that I can reach out to right application team, log does not provide any details regarding the mutation at all, is there a way to find that out
Mutation of bytes is too large for the maxiumum size of
  
|  
|  
|  
|   |    |

  |

  |
|  
|   |  
Mutation of bytes is too large for the maxiumum size of
 Summary Apache Cassandra will discard mutations larger than a predetermined size. This note addresses why this h...  |   |

  |

  |

 


 Naidu Saladi