-
Notifications
You must be signed in to change notification settings - Fork 215
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
launch_gateway fails to parse server port when enabling a JVM debug port #511
Labels
Comments
Thanks for reporting this. Are you interested in making a PR? |
ehigham
added a commit
to ehigham/py4j
that referenced
this issue
Mar 8, 2023
When users expose JVM debug ports, the JVM prints information about the debug port on initialization (ie before `main` is invoked). Discard stdout noise until the port is successfully read.
Sure :) |
@HyukjinKwon can someone take a look at the PR please? |
ehigham
added a commit
to ehigham/py4j
that referenced
this issue
Apr 23, 2024
When users expose JVM debug ports, the JVM prints information about the debug port on initialization (ie before `main` is invoked). Discard stdout noise until the port is successfully read.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When calling
launch_gateway
withjavaopts=['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005']
it'll fail to parse the server port from stdout:The text was updated successfully, but these errors were encountered: