GitHub user nabarunnag opened a pull request: https://github.com/apache/incubator-geode/pull/204
GEODE-1612: Gets a list of random ports at once * Getting a random port for each locator one by one led to different locators getting assigned the same port number * By getting a list of available ports at one shot reduces the possiblity of locators being assigned the same port number * This will not solve the problem of locators being assigned a port which is in use. * We can't pass 0 as the locator port parameter because we need the ring topology before the locators are started. You can merge this pull request into a Git repository by running: $ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-1612 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-geode/pull/204.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 #204 ---- commit 2528e3ba2e19cef10f42eeb9916614d5790f2245 Author: nabarun <n...@pivotal.io> Date: 2016-07-13T18:49:45Z GEODE-1612: Gets a list of random ports at once * Getting a random port for each locator one by one led to different locators getting assigned the same port number * By getting a list of available ports at one shot reduces the possiblity of locators being assigned the same port number * This will not solve the problem of locators being assigned a port which is in use. * We can't pass 0 as the locator port parameter because we need the ring topology before the locators are started. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---