Skip to content

Conversation

@wangdengshan
Copy link
Contributor

@wangdengshan wangdengshan commented Jun 20, 2024

Solve potential NPE issues during session creation.

What changes were proposed in this pull request?

Logically speaking, the non-zero judgment of refCount is not rigorous, which will result in the server attribute not being created.

https://issues.apache.org/jira/browse/LIVY-1001

How was this patch tested?

I manually constructed the abnormal situation during the creation of RpcServer. Specifically, launcher.port.range="10000~10001" and ports 10000,10001 are all occupied.

… exception during the livy session creating process.
@wangdengshan wangdengshan marked this pull request as draft July 3, 2024 09:06
@wangdengshan wangdengshan marked this pull request as ready for review July 3, 2024 09:08
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.

1 participant