[ 
https://issues.apache.org/jira/browse/NIFI-6242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Smith updated NIFI-6242:
----------------------------
    Status: Patch Available  (was: Open)

> PutFileTransfer generating incorrect provenance events
> ------------------------------------------------------
>
>                 Key: NIFI-6242
>                 URL: https://issues.apache.org/jira/browse/NIFI-6242
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.9.2
>            Reporter: Brandon Rhys DeVries
>            Assignee: Tim Smith
>            Priority: Minor
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> PutFileTransfer transfers a (configurable size) batch of FlowFiles.  However, 
> the provenance SEND event generated [1] uses the hostname evaluated from the 
> first FlowFile of the batch.  If the hostname is a hardcoded string, there's 
> no issue... but if the hostname uses Expression Language, the generated 
> provenance events will be incorrect (and very confusing).
> [1] 
> [https://github.com/apache/nifi/blob/f60585a9b6df6b3b28be1eb80a0a60deac6c0493/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutFileTransfer.java#L146-L147]
> [2] 
> [https://github.com/apache/nifi/blob/f60585a9b6df6b3b28be1eb80a0a60deac6c0493/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PutFileTransfer.java#L97]



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

Reply via email to