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

Bryan Bende commented on NIFI-5152:
-----------------------------------

I don't really have a preference whether the processor requires incoming flow 
files or not.. the issue is that the current processor is allowed to be started 
without an incoming relationship, but will never do anything the way the code 
is written.

So either A) there should be INPUT_REQUIRED to be consistent with the current 
code in the processor or B) the onTrigger code needs to be updated to work in 
both cases.

> MoveHDFS should have @InputRequirement(Requirement.INPUT_REQUIRED)
> ------------------------------------------------------------------
>
>                 Key: NIFI-5152
>                 URL: https://issues.apache.org/jira/browse/NIFI-5152
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Bryan Bende
>            Priority: Minor
>
> The onTrigger method of MoveHDFS will return when no incoming flow file is 
> obtained, therefore the processor can only be used with an incoming 
> relationships and should have the INPUT_REQUIRED annotation.
> If the expected behavior was to use the processor without an incoming 
> relationship, then instead of requiring input, the code needs to be updated 
> to handle both scenarios.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to