You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Siddharth Seth (JIRA)" <ji...@apache.org> on 2013/08/19 18:51:47 UTC
[jira] [Commented] (TEZ-375) Remove 2 second wait for end of
shuffle
[ https://issues.apache.org/jira/browse/TEZ-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743989#comment-13743989 ]
Siddharth Seth commented on TEZ-375:
------------------------------------
awitUntilDone uses the sleep delay as a parameter to wait() . It's supposed to be notified when fetchers etc complete. Is that not happening ?
> Remove 2 second wait for end of shuffle
> ---------------------------------------
>
> Key: TEZ-375
> URL: https://issues.apache.org/jira/browse/TEZ-375
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Bikas Saha
>
> According to following code Shuffle may wait upto 2 second for completion depending on when the sleep wait starts
> PROGRESS_FREQUENCY is 2000 ms.
> {code}
> while (!scheduler.waitUntilDone(PROGRESS_FREQUENCY)) {
> reporter.progress();
>
> synchronized (this) {
> if (throwable != null) {
> throw new ShuffleError("error in shuffle in " + throwingThreadName,
> throwable);
> }
> }
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira