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

Colin Patrick McCabe commented on HADOOP-12706:
-----------------------------------------------

Thanks for the patch, [~sjlee0].  I agree that it seems a bit iffy to rely on 
{{System.gc}}, but I'm not sure if we have any other choice.  The behavior we 
are testing is gc-related, after all.

The patch looks good, but I wonder if we could make it simpler by avoiding 
adding the "for" loop.   I posted HADOOP-12706.002.patch which implements 
this-- let me know what you think.

 I have been running this in a loop for a half hour and so far have seen no 
failures.

> TestLocalFsFCStatistics#testStatisticsThreadLocalDataCleanUp times out 
> occasionally
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-12706
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12706
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Jason Lowe
>            Assignee: Sangjin Lee
>         Attachments: HADOOP-12706.01.patch
>
>
> TestLocalFsFCStatistics has been failing sometimes, and when it fails it 
> appears to be from FCStatisticsBaseTest.testStatisticsThreadLocalDataCleanUp. 
>  The test is timing out when it fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to