You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Enrico Olivelli (Jira)" <ji...@apache.org> on 2020/10/08 08:00:28 UTC
[jira] [Commented] (ZOOKEEPER-3961) Inaccurate Error Message
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210065#comment-17210065 ]
Enrico Olivelli commented on ZOOKEEPER-3961:
--------------------------------------------
good catch [~belugabehr]
Also I would report the current value
> Inaccurate Error Message
> ------------------------
>
> Key: ZOOKEEPER-3961
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3961
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: David Mollitor
> Priority: Trivial
> Labels: newbie, noob
>
> https://github.com/apache/zookeeper/blob/c47ef905e077184bc5b7f555a3e2dfeb6dc046e1/zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java#L239-L244
> {code:java|title=ZooKeeperServer.java}
> if (intBufferStartingSizeBytes < 32) {
> String msg = "Buffer starting size must be greater than 0."
> + "Configure with \"-Dzookeeper.intBufferStartingSizeBytes=<size>\" ";
> LOG.error(msg);
> throw new IllegalArgumentException(msg);
> }
> {code}
> Actually the size must be _greater or equal to 32_
--
This message was sent by Atlassian Jira
(v8.3.4#803005)