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

[LIVY-1001][RSC] ContextLauncher has a potential NullPointerException… #447

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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