tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Seth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEZ-375) Remove 2 second wait for end of shuffle
Date Mon, 19 Aug 2013 16:51:47 GMT

    [ 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

Mime
View raw message