Skip to content

Commit

Permalink
ZOOKEEPER-3961: Improve error message for zookeeper.intBufferStarting…
Browse files Browse the repository at this point in the history
…SizeBytes config
  • Loading branch information
rpinzon committed Jun 16, 2021
1 parent f3c5a74 commit 1b2c474
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ protected enum State {
intBufferStartingSizeBytes = Integer.getInteger(INT_BUFFER_STARTING_SIZE_BYTES, DEFAULT_STARTING_BUFFER_SIZE);

if (intBufferStartingSizeBytes < 32) {
String msg = "Buffer starting size (" + intBufferStartingSizeBytes + ") must be greater than or equal to 32."
String msg = "Buffer starting size (" + intBufferStartingSizeBytes + ") must be greater than or equal to 32. "
+ "Configure with \"-Dzookeeper.intBufferStartingSizeBytes=<size>\" ";
LOG.error(msg);
throw new IllegalArgumentException(msg);
Expand Down

0 comments on commit 1b2c474

Please sign in to comment.