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

[Integration][Flight][Java] Flight Java server occasionally fails starting #39113

Closed
pitrou opened this issue Dec 6, 2023 · 3 comments · Fixed by #39115
Closed

[Integration][Flight][Java] Flight Java server occasionally fails starting #39113

pitrou opened this issue Dec 6, 2023 · 3 comments · Fixed by #39115

Comments

@pitrou
Copy link
Member

pitrou commented Dec 6, 2023

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:

################# 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:


(also happens on arrow-rs CI)

Component(s)

FlightRPC, Integration, Java

@pitrou
Copy link
Member Author

pitrou commented Dec 6, 2023

@lidavidm @jduo Would one of you have a guess as to what the issue could be?

@lidavidm
Copy link
Member

lidavidm commented Dec 6, 2023

@pitrou
Copy link
Member Author

pitrou commented Dec 6, 2023

Thank you, let's try that.

pitrou added a commit to pitrou/arrow that referenced this issue Dec 6, 2023
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>
@pitrou pitrou added this to the 15.0.0 milestone Dec 6, 2023
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