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 impact deriving from local terminal clean spark context #2969

Closed
3 tasks done
nicochen opened this issue Jun 26, 2024 · 0 comments · Fixed by #2973
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 nicochen changed the title [Improvement]: Eliminate AMS Full GC impactions deriving from local terminal clean spark context [Improvement]: Eliminate AMS Full GC impact deriving from local terminal clean spark context Jun 26, 2024
nicochen added a commit to nicochen/arctic that referenced this issue Jun 27, 2024
baiyangtx pushed a commit that referenced this issue Jul 2, 2024
…nal clean spark context #2969 (#2973)

Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant