Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEODE-5816: Don't set the JMX Port multiple ways in RegionMembership.… #4592

Conversation

upthewaterspout
Copy link
Contributor

….Test

This test was setting the JMX_MANAGER_HTTP_PORT using AvailablePortHelper
before starting up. However, we also later set the jmx port through the
LocatorStarterRule. By setting the port early in this way, we were preventing
some duplicate port prevention logic from kicking in.

Removing this extra set of JMX_MANAGER_HTTP_PORT. Now, when withJmxManager is
called later, it will generate a port that does not conflict with the http
port.

Thank you for submitting a contribution to Apache Geode.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:

Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.

….Test

This test was setting the JMX_MANAGER_HTTP_PORT using AvailablePortHelper
before starting up. However, we also later set the jmx port through the
LocatorStarterRule. By setting the port early in this way, we were preventing
some duplicate port prevention logic from kicking in.

Removing this extra set of JMX_MANAGER_HTTP_PORT. Now, when withJmxManager is
called later, it will generate a port that does not conflict with the http
port.
@upthewaterspout upthewaterspout merged commit 0a5acac into apache:develop Jan 15, 2020
@upthewaterspout upthewaterspout deleted the feature/use-jmx-port-supplier-GEODE-5816 branch January 15, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants