https://github.com/apache/spark
Revision ded902c3a90a9340e551091d554245df5982590c authored by Ryan Blue on 24 January 2019, 22:17:38 UTC, committed by Marcelo Vanzin on 24 January 2019, 22:17:38 UTC
## What changes were proposed in this pull request?

Updates the attempt ID used by FileFormatWriter. Tasks in stage attempts use the same task attempt number and could conflict. Using Spark's task attempt ID guarantees that Hadoop TaskAttemptID instances are unique.

This is a backport of d5a97c1 to the 2.3 branch.

## How was this patch tested?

Existing tests. Also validated that we no longer detect this failure case in our logs after deployment.

Closes #23640 from rdblue/SPARK-26682-backport-to-2.3.

Authored-by: Ryan Blue <blue@apache.org>
Signed-off-by: Marcelo Vanzin <vanzin@cloudera.com>
1 parent 23e35d4
History
Tip revision: ded902c3a90a9340e551091d554245df5982590c authored by Ryan Blue on 24 January 2019, 22:17:38 UTC
[SPARK-26682][SQL] Use taskAttemptID instead of attemptNumber for Had…
Tip revision: ded902c

README.md

back to top