Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.