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

[Improvement]: Eliminate AMS Full GC impactions deriving from local terminal clean spark context #2968

Closed
3 tasks done
nicochen opened this issue Jun 26, 2024 · 3 comments
Closed
3 tasks done

Comments

@nicochen
Copy link
Contributor

Search before asking

  • I have searched in the issues and found no similar issues.

What would you like to be improved?

We experienced and suffered from AMS full GC for a long period. we dig into this case and finally found out local spark session terminal triggers java.lang.System.gc() every 30 minutes to clean contexts. As arthas stack traces as shown below:
image

How should we improve?

For external kyuubi session terminal, there is no need to revises anything. The problem is only related to local session which is embedding into AMS itself. Simply add config 'spark.cleaner.referenceTracking' = 'false' to solve the problem.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Subtasks

No response

Code of Conduct

@nicochen
Copy link
Contributor Author

@czy006 Due to my working network issue, the same issues seem to been wrongly submitted twice. Sry about that. This one is duplicated with #2969 and has already been merged. The fix logic is same. I will close this issue ad duplicated.

@nicochen
Copy link
Contributor Author

Duplicated with #2969. Closed

@nicochen nicochen closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@czy006
Copy link
Contributor

czy006 commented Jul 16, 2024

@nicochen thanks for your callback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants