You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/15 10:13:01 UTC

[jira] [Commented] (MINIFI-113) nifi-minifi-cpp throws "Invalid File Filter regex" error for GetFile's default "File Filter" property

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

ASF subversion and git services commented on MINIFI-113:
--------------------------------------------------------

Commit dc9544f8cb5b0f2f8c616ea63181fc6708bcc8b4 in nifi-minifi-cpp's branch refs/heads/master from [~bqiu]
[ https://git-wip-us.apache.org/repos/asf?p=nifi-minifi-cpp.git;h=dc9544f ]

MINIFI-131:  Establish framework Provenance Support

MINIFI-113:  Correct GetFile FileFilter regex bug

This closes #23.

Signed-off-by: Aldrin Piri <al...@apache.org>


> nifi-minifi-cpp throws "Invalid File Filter regex" error for GetFile's default "File Filter" property
> -----------------------------------------------------------------------------------------------------
>
>                 Key: MINIFI-113
>                 URL: https://issues.apache.org/jira/browse/MINIFI-113
>             Project: Apache NiFi MiNiFi
>          Issue Type: Bug
>          Components: C++, Extensions
>            Reporter: Randy Gelhausen
>            Assignee: bqiu
>             Fix For: cpp-0.1.0
>
>
> I used the 0.0.1 minifi converter toolkit for a flow containing a GetFile processor with default "Filter Filter" properties ([^\.].*). It generated the following config:
> - name: GetFile
>   class: org.apache.nifi.processors.standard.GetFile
>   max concurrent tasks: 1
>   scheduling strategy: TIMER_DRIVEN
>   scheduling period: 1 sec
>   penalization period: 30 sec
>   yield period: 1 sec
>   run duration nanos: 0
>   auto-terminated relationships list: []
>   Properties:
>     Batch Size: '10'
>     File Filter: '[^\.].*'
>     Ignore Hidden Files: 'true'
>     Input Directory: /host-data/metrics
>     Keep Source File: 'false'
>     Maximum File Age:
>     Maximum File Size:
>     Minimum File Age: 10 sec
>     Minimum File Size: 0 B
>     Path Filter:
>     Polling Interval: 0 sec
>     Recurse Subdirectories: 'true'
> However, at runtime, minifi gives an invalid regex error:
> [2016-10-03 16:31:11.318] [minifi log] [error] Invalid File Filter regex: regex_error.



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