Uh oh!
There was an error while loading. Please reload this page.
[SPARK-21236] Make the threshold of using HighlyCompressedStatus configurable. - #18446
[SPARK-21236] Make the threshold of using HighlyCompressedStatus configurable.#18446jinxing64 wants to merge 2 commits into
Conversation
jiangxb1987
left a comment
There was a problem hiding this comment.
This change LGTM, should we also add a new test case in MapStatusSuite ?
jinxing64
commented
Jun 28, 2017
Sure, thanks for review :) |
SparkQA
commented
Jun 28, 2017
Test build #78761 has finished for PR 18446 at commit
|
jinxing64
commented
Jun 28, 2017
Jenkins, retest this please. |
srowen
commented
Jun 28, 2017
It's probably OK, but what's the use case for configuring it? when would a caller know to set it higher or lower? just trying to figure out if this is a meaningful knob. |
jiangxb1987
commented
Jun 28, 2017
I guess the size of blocks are not very accurately stored in |
jinxing64
commented
Jun 28, 2017
Yes, this is discussed ever in #16989 . Only average size of blocks are stored in |
SparkQA
commented
Jun 28, 2017
Test build #78768 has finished for PR 18446 at commit
|
SparkQA
commented
Jun 28, 2017
Test build #78774 has finished for PR 18446 at commit
|
jinxing64
commented
Jun 28, 2017
Jenkins, retest this please. |
SparkQA
commented
Jun 28, 2017
Test build #78790 has finished for PR 18446 at commit
|
jinxing64
commented
Jun 28, 2017
Jenkins, retest this please. |
SparkQA
commented
Jun 28, 2017
Test build #78801 has finished for PR 18446 at commit
|
cloud-fan
commented
Jun 29, 2017
is this still useful after we have #18031 ? I think users can just set |
jinxing64
commented
Jun 29, 2017
True. I just try to make it more complete and refine the hardcode. |
cloud-fan
commented
Jun 29, 2017
every new config comes with a cost that users have to learn about it. For this case users already have a config( Let's close it first. If we get a real use case that needs this config, we can reopen. |
jinxing64
commented
Jun 29, 2017
Sure :) |
What changes were proposed in this pull request?
Currently the threshold of using
HighlyCompressedMapStatusis hardcoded 2000.We could make this configurable. Thus users having enough memory on driver can configure the threshold to be larger thus to save the size of blocks more accurately in
CompressedMapStatus.