[
https://issues.apache.org/jira/browse/ZOOKEEPER-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289954#comment-17289954
]
Mathieu Marie commented on ZOOKEEPER-4221:
------------------------------------------
I agree. This would make more sense. Also, I would like to also add the
configured jute.maxbuffer current value in the message as well as the source-ip
address.
Something like :
"Len error, the first few bytes of the message contains invalid value: 1048648.
This is either a message too large to process (current parameter
jute.maxbuffer=1048575) or this is a malformed message. origin=/127.0.0.1:51775"
> Improve the error message when message goes above jute.maxbufer size
> --------------------------------------------------------------------
>
> Key: ZOOKEEPER-4221
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4221
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.5.5
> Reporter: Mathieu Marie
> Priority: Minor
>
> When I hit the jute.maxbuffer size, I get a pretty bland error message that
> doesn't help me much.
> {quote}java.io.IOException: Len error 1048648
> {quote}
> It would be helpful to get more information about the command that produced
> the error, the client that executed the command, etc...
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)