You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Arpad Boda (Jira)" <ji...@apache.org> on 2020/05/22 18:13:00 UTC

[jira] [Commented] (MINIFICPP-1235) Warning message on GetFile

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

Arpad Boda commented on MINIFICPP-1235:
---------------------------------------

This warning makes no sense and I also don't think this property should be queried in onTrigger call. 

This is not a property that might depend on a FF attribute, so this should simply be moved to onSchedule.

In onSchedule we could also validate if the directory exists.

> Warning message on GetFile
> --------------------------
>
>                 Key: MINIFICPP-1235
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1235
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Pierre Villard
>            Priority: Minor
>
> I have my MiNiFi C++ agents running and I see this warning:
> {code:java}
> [2020-05-22 17:38:06.836] [org::apache::nifi::minifi::processors::GetFile] [warning] Resolved missing Input Directory property value{code}
> However the input directory value is correctly set (I have 2 GetFile processors):
> {code:java}
> /opt/minifi/nifi-minifi-cpp-0.7.0 $ grep "Input" /opt/minifi/minifi-current/conf/config.yml 
>  Input Directory: /data/input
>  Input Directory: /data/input{code}
>  Not sure to understand the warning message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)