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

Konstantin Boudnik commented on HDFS-1829:
------------------------------------------

I think it makes sense to have a new private method instead of copying pretty 
much the same code 3 times. Surely the iterators in while loops are different 
methods but I think you can parametrized it via Callable.

> TestNodeCount waits forever, errs without giving information
> ------------------------------------------------------------
>
>                 Key: HDFS-1829
>                 URL: https://issues.apache.org/jira/browse/HDFS-1829
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Matt Foley
>            Assignee: Matt Foley
>             Fix For: 0.23.0
>
>         Attachments: TestNodeCount.java.patch, TestNodeCount_v2.patch
>
>
> In three locations in the code, TestNodeCount waits forever on a condition. 
> Failures result in Hudson/Jenkins "Timeout occurred" error message with no 
> information about where or why. Need to replace with TimeoutExceptions that 
> throw a stack trace and useful info about the failure mode.
> Also investigate possible cause of failure.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to