Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3961

Inaccurate Error Message

    XMLWordPrintableJSON

Details

    Description

      https://github.com/apache/zookeeper/blob/c47ef905e077184bc5b7f555a3e2dfeb6dc046e1/zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java#L239-L244

      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);
              }
      

      Actually the size must be greater or equal to 32

      Attachments

        Activity

          People

            Unassigned Unassigned
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m