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

[SPARK-23310][CORE] Turn off read ahead input stream for unshafe shuffle reader #20492

Closed

Conversation

sitalkedia
Copy link

To fix regression for TPC-DS queries

@sitalkedia sitalkedia changed the title [SPARK-21113][CORE] Turn off read ahead input stream for unshafe shuffle reader [SPARK-23310][CORE] Turn off read ahead input stream for unshafe shuffle reader Feb 3, 2018
@SparkQA
Copy link

SparkQA commented Feb 3, 2018

Test build #87014 has finished for PR 20492 at commit 36b099b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@@ -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);
Copy link
Member

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?

Copy link
Author

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.

@sameeragarwal
Copy link
Member

Just a minor comment, LGTM. Thanks!

@SparkQA
Copy link

SparkQA commented Feb 5, 2018

Test build #87059 has finished for PR 20492 at commit 732cf9e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@kiszk
Copy link
Member

kiszk commented Feb 5, 2018

LGTM

@sameeragarwal
Copy link
Member

merging this to master/2.3

asfgit pushed a commit that referenced this pull request Feb 5, 2018
…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]>
@asfgit asfgit closed this in 03b7e12 Feb 5, 2018
asfgit pushed a commit that referenced this pull request Feb 6, 2018
## 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]>
ghost pushed a commit to dbtsai/spark that referenced this pull request Feb 6, 2018
## 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants