You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Renan Tomazoni Pinzon (Jira)" <ji...@apache.org> on 2021/06/16 04:09:00 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=17364048#comment-17364048 ] 

Renan Tomazoni Pinzon commented on ZOOKEEPER-3961:
--------------------------------------------------

[~eolivelli] Opened another [PR 1714|https://github.com/apache/zookeeper/pull/1714] for this issue.

> 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, pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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)