hadoop/hadoop-tools/hadoop-aws/src/main
Steve Loughran 4249c04d45
HADOOP-16798. S3A Committer thread pool shutdown problems. (#1963)
Contributed by Steve Loughran.

Fixes a condition which can cause job commit to fail if a task was
aborted < 60s before the job commit commenced: the task abort
will shut down the thread pool with a hard exit after 60s; the
job commit POST requests would be scheduled through the same pool,
so be interrupted and fail. At present the access is synchronized,
but presumably the executor shutdown code is calling wait() and releasing
locks.

Task abort is triggered from the AM when task attempts succeed but
there are still active speculative task attempts running. Thus it
only surfaces when speculation is enabled and the final tasks are
speculating, which, given they are the stragglers, is not unheard of.

Note: this problem has never been seen in production; it has surfaced
in the hadoop-aws tests on a heavily overloaded desktop
2020-06-30 10:44:51 +01:00
..
java/org/apache/hadoop/fs HADOOP-16798. S3A Committer thread pool shutdown problems. (#1963) 2020-06-30 10:44:51 +01:00
resources/META-INF/services HADOOP-14556. S3A to support Delegation Tokens. 2019-01-14 17:59:27 +00:00
shellprofile.d HADOOP-13345 HS3Guard: Improved Consistency for S3A. 2017-09-01 14:13:41 +01:00