incubator-flume-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Verbeck (JIRA)" <>
Subject [jira] [Created] (FLUME-722) RegexAllExtractor doesn't ignore empty groups
Date Thu, 04 Aug 2011 02:01:28 GMT
RegexAllExtractor doesn't ignore empty groups

                 Key: FLUME-722
             Project: Flume
          Issue Type: Bug
          Components: Sinks+Sources
    Affects Versions: v0.9.4
            Reporter: Nicholas Verbeck
            Assignee: Nicholas Verbeck
            Priority: Minor

Hi flume devs.

I saw a bug when using RegexAllExtractor: line 94:

         if(names.get(grp-1) != ""){
           Attributes.setString(e, names.get(grp-1), val);

Please help to file a jira and correct it to use String.equal(), otherwise it doesn't ignore
empty groups.

(I don't think I can open a issue at cloudera jira.)


This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message