Skip to content

[SPARK-29043][Core] Improve the concurrent performance of History Server - #25797

Closed
turboFei wants to merge 7 commits into
apache:masterfrom
turboFei:SPARK-29043
Closed

[SPARK-29043][Core] Improve the concurrent performance of History Server#25797
turboFei wants to merge 7 commits into
apache:masterfrom
turboFei:SPARK-29043

Conversation

@turboFei

@turboFeiturboFei commented Sep 15, 2019

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Even we set spark.history.fs.numReplayThreads to a large number, such as 30.
The history server still replays logs slowly.
We found that, if there is a straggler in a batch of replay tasks, all the other threads will wait for this
straggler.

In this PR, we create processing to save the logs which are being replayed.
So that the replay tasks can execute Asynchronously.

Why are the changes needed?

It can accelerate the speed to replay logs for history server.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

UT.

Loading
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

12 participants

@turboFei@dongjoon-hyun@HyukjinKwon@wangyum@SparkQA@kiszk@gengliangwang@vanzin@HeartSaVioR@viirya@manuzhang@Ngone51