You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/08/20 01:46:51 UTC

[jira] [Resolved] (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:all-tabpanel ]

Bikas Saha resolved TEZ-375.
----------------------------

    Resolution: Not A Problem

The wait gets notified and so doesnt sleep longer than necessary.
                
> 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