-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Integration][Flight][Java] Flight Java server occasionally fails starting #39113
Milestone
Comments
github-actions
bot
added
Component: Java
Component: FlightRPC
Component: Integration
labels
Dec 6, 2023
You can just disable it: https://stackoverflow.com/questions/76327/how-can-i-prevent-java-from-creating-hsperfdata-files |
Thank you, let's try that. |
pitrou
added a commit
that referenced
this issue
Dec 6, 2023
… Java server (#39115) ### Rationale for this change The "perfdata" feature in the JVM can sometimes cause spurious warnings or failures trying to start the Integration Flight server: ``` ################# FAILURES ################# FAILED TEST: decimal Java producing, Java consuming <class 'RuntimeError'>: Flight-Java server did not start properly, stdout: Warning: [0.002s][warning][perf,memops] Cannot use file /tmp/hsperfdata_root/55221 because it is locked by another process (errno = 11) stderr: ``` ### What changes are included in this PR? Disable the perfdata feature when starting the JVM for integration tests. ### Are these changes tested? By construction, yes. ### Are there any user-facing changes? No. * Closes: #39113 Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…arting Java server (apache#39115) ### Rationale for this change The "perfdata" feature in the JVM can sometimes cause spurious warnings or failures trying to start the Integration Flight server: ``` ################# FAILURES ################# FAILED TEST: decimal Java producing, Java consuming <class 'RuntimeError'>: Flight-Java server did not start properly, stdout: Warning: [0.002s][warning][perf,memops] Cannot use file /tmp/hsperfdata_root/55221 because it is locked by another process (errno = 11) stderr: ``` ### What changes are included in this PR? Disable the perfdata feature when starting the JVM for integration tests. ### Are these changes tested? By construction, yes. ### Are there any user-facing changes? No. * Closes: apache#39113 Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
We occasionally get an error starting the Flight Java server in Integration CI tests:
https://github.com/apache/arrow/actions/runs/7108228773/job/19351128300#step:8:21755
I don't know if the warning below is related:
(also happens on arrow-rs CI)
Component(s)
FlightRPC, Integration, Java
The text was updated successfully, but these errors were encountered: