-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-23310][CORE] Turn off read ahead input stream for unshafe shuffle reader #20492
Conversation
Test build #87014 has finished for PR 20492 at commit
|
@@ -77,7 +77,7 @@ public UnsafeSorterSpillReader( | |||
SparkEnv.get().conf().getDouble("spark.unsafe.sorter.spill.read.ahead.fraction", 0.5); | |||
|
|||
final boolean readAheadEnabled = SparkEnv.get() != null && | |||
SparkEnv.get().conf().getBoolean("spark.unsafe.sorter.spill.read.ahead.enabled", true); | |||
SparkEnv.get().conf().getBoolean("spark.unsafe.sorter.spill.read.ahead.enabled", false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a comment here to add more context? Perhaps also link a JIRA/TODO to re-enable this in 2.4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, added more context to it.
Just a minor comment, LGTM. Thanks! |
36b099b
to
732cf9e
Compare
Test build #87059 has finished for PR 20492 at commit
|
LGTM |
merging this to master/2.3 |
…fle reader To fix regression for TPC-DS queries Author: Sital Kedia <[email protected]> Closes #20492 from sitalkedia/turn_off_async_inputstream. (cherry picked from commit 03b7e12) Signed-off-by: Sameer Agarwal <[email protected]>
## What changes were proposed in this pull request? This is a follow-up of #20492 which broke lint-java checks. This pr fixes the lint-java issues. ``` [ERROR] src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java:[79] (sizes) LineLength: Line is longer than 100 characters (found 114). ``` ## How was this patch tested? Checked manually in my local environment. Author: Takuya UESHIN <[email protected]> Closes #20514 from ueshin/issues/SPARK-23310/fup1. (cherry picked from commit 7db9979) Signed-off-by: Marcelo Vanzin <[email protected]>
## What changes were proposed in this pull request? This is a follow-up of apache#20492 which broke lint-java checks. This pr fixes the lint-java issues. ``` [ERROR] src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java:[79] (sizes) LineLength: Line is longer than 100 characters (found 114). ``` ## How was this patch tested? Checked manually in my local environment. Author: Takuya UESHIN <[email protected]> Closes apache#20514 from ueshin/issues/SPARK-23310/fup1.
To fix regression for TPC-DS queries