You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Randy Gelhausen (JIRA)" <ji...@apache.org> on 2016/10/03 16:32:20 UTC

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

Randy Gelhausen created MINIFI-113:
--------------------------------------

             Summary: 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++, Core Framework
            Reporter: Randy Gelhausen


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)