-
Notifications
You must be signed in to change notification settings - Fork 232
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
Remove batches if they are received after the iterator detects that t… #1180
Remove batches if they are received after the iterator detects that t… #1180
Conversation
…he task has completed Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
e7712f6
to
56cc008
Compare
sql-plugin/src/main/scala/com/nvidia/spark/rapids/shuffle/RapidsShuffleClient.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/shuffle/RapidsShuffleIterator.scala
Outdated
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/shuffle/RapidsShuffleIterator.scala
Show resolved
Hide resolved
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.
I made the suggested changes, but I am having some environment issues to reproduce this in the wild. Leaving this in Draft mode until I can double check everything still works.
sql-plugin/src/main/scala/com/nvidia/spark/rapids/shuffle/RapidsShuffleIterator.scala
Show resolved
Hide resolved
sql-plugin/src/main/scala/com/nvidia/spark/rapids/shuffle/RapidsShuffleIterator.scala
Outdated
Show resolved
Hide resolved
Updated #1177 again. Was able to reproduce, main thing that tricked me was the coalesce batches. Not sure if that is expected, where you have a shuffle -> coalesce -> local limit X. Should coalesce only coalesce to X? Either way, it's definitely seen if coalesce is adjusted to produce small batches, such that local limit finds what it needs early. |
…fle/limit_leak_short_term_solution
build |
…fle/limit_leak_short_term_solution
build |
NVIDIA#1180) * Remove batches if they are received after the iterator detects that the task has completed Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
NVIDIA#1180) * Remove batches if they are received after the iterator detects that the task has completed Signed-off-by: Alessandro Bellina <abellina@nvidia.com>
…IDIA#1180) Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Closes #1177