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

GH-39113: [Integration][Flight][Java] Fix occasional failure starting Java server #39115

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

pitrou
Copy link
Member

@pitrou pitrou commented Dec 6, 2023

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.

Copy link

github-actions bot commented Dec 6, 2023

⚠️ GitHub issue #39113 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added the awaiting review Awaiting review label Dec 6, 2023
@pitrou
Copy link
Member Author

pitrou commented Dec 6, 2023

I'm not sure this will actually fix the issue (perhaps the occasional failures have an other cause?), but we won't be able to judge immediately, since it's sporadic.

@pitrou pitrou marked this pull request as ready for review December 6, 2023 17:05
@pitrou pitrou requested a review from jduo December 6, 2023 17:16
@danepitkin
Copy link
Member

👍 LGTM!

@pitrou
Copy link
Member Author

pitrou commented Dec 6, 2023

Thanks @danepitkin ! I'll merge this.

@pitrou pitrou merged commit 9fdcc60 into apache:main Dec 6, 2023
8 checks passed
@pitrou pitrou removed the awaiting review Awaiting review label Dec 6, 2023
@pitrou pitrou deleted the gh39113-java-hsperfdata branch December 6, 2023 17:29
Copy link

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 9fdcc60.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them.

dgreiss pushed a commit to dgreiss/arrow that referenced this pull request 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Integration][Flight][Java] Flight Java server occasionally fails starting
2 participants