-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Expose JMX RMI in product tests #16517
Conversation
...roduct-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/common/Standard.java
Outdated
Show resolved
Hide resolved
6a1fbaf
to
7e1da28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
7e1da28
to
0dc27b7
Compare
...roduct-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/common/Standard.java
Show resolved
Hide resolved
I like it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idea lgtm, only stylistic comments
jmxPort = 6005; | ||
} | ||
else if (logicalName.equals(WORKER)) { | ||
jmxPort = 6009; | ||
} | ||
else if (logicalName.startsWith(WORKER_NTH)) { | ||
int workerNumber = parseInt(logicalName.substring(WORKER_NTH.length())); | ||
jmxPort = 6008 + workerNumber; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not contiguous?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. I've used the same base as in the exposing debugger part, shifted by 1000
...roduct-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/common/Standard.java
Outdated
Show resolved
Hide resolved
...roduct-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/common/Standard.java
Show resolved
Hide resolved
...roduct-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/common/Standard.java
Outdated
Show resolved
Hide resolved
This allows to connect to the running Trino instance using JDK Mission Control and capture Java Flight Recorder recordings.
0dc27b7
to
fac6b9b
Compare
CI hit: #14637 |
Thanks |
This allows to connect to the running Trino instance using JDK Mission Control and capture Java Flight Recorder recordings.
Description
Additional context and related issues
Release notes
(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text: