You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Luke Lu (JIRA)" <ji...@apache.org> on 2010/05/26 01:23:33 UTC

[jira] Created: (HADOOP-6787) Factor out glob pattern code from FileContext and Filesystem

Factor out glob pattern code from FileContext and Filesystem
------------------------------------------------------------

                 Key: HADOOP-6787
                 URL: https://issues.apache.org/jira/browse/HADOOP-6787
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Luke Lu


The GlobFilter class (especially the error-prone setRegex method) is duplicated in both FileContext and Filesystem. And I'd like to be able to reuse the most of the setRegex code for glob pattern matching in metrics filter configurations.

We could at least factor out the hairy setRegex code and package them into a GlobPattern class with a minimum compile method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.