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

Caleb Jones commented on HADOOP-9195:
-------------------------------------

I'm failing to see how TestZKFailoverController's tests are in any way related 
to the mere addition of a new PathFilter in org.apache.hadoop.fs. I've fixed 
the compiler warnings though (was referencing deprecated FileStatus.isDir()).

Unless someone can point out how TestZKFailoverController is failing due to 
these code changes, I'm going to assume that TestZKFailoverController's tests 
are having stability issues:

{noformat}
Error Message

test timed out after 15000 milliseconds

Stacktrace

java.lang.Exception: test timed out after 15000 milliseconds
        at java.lang.Object.wait(Native Method)
        at 
org.apache.hadoop.ha.ZKFailoverController.waitForActiveAttempt(ZKFailoverController.java:458)
        at 
org.apache.hadoop.ha.ZKFailoverController.doGracefulFailover(ZKFailoverController.java:646)
        ...
{noformat}
                
> Generic Use Date Range PathFilter
> ---------------------------------
>
>                 Key: HADOOP-9195
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9195
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs
>            Reporter: Caleb Jones
>            Priority: Minor
>         Attachments: HADOOP-9195.patch
>
>
> It would be useful for Hadoop to provide a general purpose date range 
> PathFilter that operates on file mtime. I have implemented one, with tests, 
> and would like to know where best to put it.

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

Reply via email to