You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2016/11/15 10:09:58 UTC
[jira] [Updated] (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:all-tabpanel ]
Aldrin Piri updated MINIFI-113:
-------------------------------
Component/s: (was: Core Framework)
Extensions
> 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)