Uh oh!
There was an error while loading. Please reload this page.
[SPARK-26700][CORE] enable fetch-big-block-to-disk by default - #23625
[SPARK-26700][CORE] enable fetch-big-block-to-disk by default#23625cloud-fan wants to merge 3 commits into
Conversation
cloud-fan
commented
Jan 23, 2019
SparkQA
commented
Jan 23, 2019
Test build #101577 has finished for PR 23625 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
| // to the block data itself (in particular UploadBlock has a lot of metadata), so we leave | ||
| // extra room. | ||
| .createWithDefault(Int.MaxValue - 512) | ||
| .checkValue(_ <= Int.MaxValue - 512, "maxRemoteBlockSizeFetchToMem must be less than 2GB.") |
There was a problem hiding this comment.
If someone specifies '2g' this will fail right? which might be surprising given the message. What about reusing that lower limit in the message?
| "in bytes. This is to avoid a giant request takes too much memory. Note this " + | ||
| "configuration will affect both shuffle fetch and block manager remote block fetch. " + | ||
| "For users who enabled external shuffle service, this feature can only work when " + | ||
| "external shuffle service is newer than Spark 2.2.") |
There was a problem hiding this comment.
newer than 2.2 -> at least 2.3.0?
SparkQA
commented
Jan 24, 2019
Test build #101614 has finished for PR 23625 at commit
|
cloud-fan
commented
Jan 24, 2019
retest this please |
SparkQA
commented
Jan 24, 2019
Test build #101627 has finished for PR 23625 at commit
|
| </tr> | ||
| <tr> | ||
| <td><code>spark.maxRemoteBlockSizeFetchToMem</code></td> | ||
| <td>Int.MaxValue - 512</td> |
There was a problem hiding this comment.
just to clarify, you intentionally moved this from shuffle section to network section since it affects both the shuffle fetch and block manager fetches?
Uh oh!
There was an error while loading. Please reload this page.
| .createWithDefault(Int.MaxValue - 512) | ||
| .checkValue( | ||
| _ <= Int.MaxValue - 512, | ||
| "maxRemoteBlockSizeFetchToMem must be less than (Int.MaxValue - 512) bytes.") |
SparkQA
commented
Jan 28, 2019
Test build #101742 has finished for PR 23625 at commit
|
cloud-fan
commented
Jan 28, 2019
retest this please |
wangshuo128
commented
Jan 28, 2019
"fetch-big-block-to-memory" maybe "fetch-big-block-to-disk" in title? |
SparkQA
commented
Jan 28, 2019
Test build #101750 has finished for PR 23625 at commit
|
cloud-fan
commented
Jan 28, 2019
thanks, merging to master! |
## What changes were proposed in this pull request? This is a followup of apache#16989 The fetch-big-block-to-disk feature is disabled by default, because it's not compatible with external shuffle service prior to Spark 2.2. The client sends stream request to fetch block chunks, and old shuffle service can't support it. After 2 years, Spark 2.2 has EOL, and now it's safe to turn on this feature by default ## How was this patch tested? existing tests Closesapache#23625 from cloud-fan/minor. Authored-by: Wenchen Fan <wenchen@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
What changes were proposed in this pull request?
This is a followup of #16989
The fetch-big-block-to-disk feature is disabled by default, because it's not compatible with external shuffle service prior to Spark 2.2. The client sends stream request to fetch block chunks, and old shuffle service can't support it.
After 2 years, Spark 2.2 has EOL, and now it's safe to turn on this feature by default
How was this patch tested?
existing tests