[
https://issues.apache.org/jira/browse/NIFI-5152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464981#comment-16464981
]
Sivaprasanna Sethuraman commented on NIFI-5152:
-----------------------------------------------
I have made the necessary changes to the onTrigger() to have MoveHDFS work even
when no upstream connection is provided. Also made `INPUT_DIRECTORY_OR_FILE`
PropertyDescriptor as required.
> 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
> Assignee: Sivaprasanna Sethuraman
> Priority: Minor
> Attachments:
> 0001-NIFI-5152-MoveHDFS-now-works-even-with-no-upstream-c.patch
>
>
> 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)