GitHub user Ethanlm opened a pull request:
https://github.com/apache/storm/pull/2551
[STORM-2940] Increase the CAPACITY value in LoadAwareShuffleGrouping
Explained in https://issues.apache.org/jira/browse/STORM-2940.
This is to fix the problem in some extreme cases that random.nextInt will
receive currentIdx=0 and throws `java.lang.IllegalArgumentException: bound must
be positive` exception
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Ethanlm/storm STORM-2940
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2551.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2551
----
commit ce60cc49399bc7e82cd82171473a635dc8721e6d
Author: Ethan Li <ethanopensource@...>
Date: 2018-02-07T19:40:45Z
[STORM-2940] Increase the CAPACITY value in LoadAwareShuffleGrouping
----
---