hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omkar Vinit Joshi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-706) Race Condition in TestFSDownload
Date Tue, 21 May 2013 17:17:18 GMT

    [ https://issues.apache.org/jira/browse/YARN-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13663143#comment-13663143
] 

Omkar Vinit Joshi commented on YARN-706:
----------------------------------------

bq. +    while (exec.awaitTermination(1000, TimeUnit.MILLISECONDS));
I think we should wait till it finishes right? [ExecutorService#awaitTermination|http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html#awaitTermination%28long,%20java.util.concurrent.TimeUnit%29]
while ( *!* exec.awaitTermination(1000, TimeUnit.MILLISECONDS));
Also we should add timeout per Test may be in this case we may have to increase timeout period.

                
> Race Condition in TestFSDownload
> --------------------------------
>
>                 Key: YARN-706
>                 URL: https://issues.apache.org/jira/browse/YARN-706
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: YARN-706.1.patch, YARN-706.2.patch
>
>
> See the test failure in YARN-695
> https://builds.apache.org/job/PreCommit-YARN-Build/957//testReport/org.apache.hadoop.yarn.util/TestFSDownload/testDownloadPatternJar/

--
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