[
https://issues.apache.org/jira/browse/NIFI-13808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909423#comment-17909423
]
ASF subversion and git services commented on NIFI-13808:
--------------------------------------------------------
Commit f7be2a6095053577953a09778fded3a65c4c35e0 in nifi's branch
refs/heads/main from Bob Paulin
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f7be2a6095 ]
NIFI-13808: Record attributes and content for clone, upload and send. (#9486)
> Cloned Provenance Events reflect updated Content and Attributes rather than
> time of clone
> -----------------------------------------------------------------------------------------
>
> Key: NIFI-13808
> URL: https://issues.apache.org/jira/browse/NIFI-13808
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Bob Paulin
> Priority: Minor
> Attachments: image-2024-09-26-10-58-58-093.png,
> image-2024-09-26-11-00-37-895.png, image-2024-09-26-11-00-43-937.png,
> image-2024-09-26-11-01-29-311.png, image-2024-09-26-11-02-08-687.png,
> image-2024-09-26-11-02-20-538.png, image-2024-09-26-11-08-08-377.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When cloned events are viewed in Data Provenance I would expect both the Flow
> File Content and Attributes to reflect the state of the flow file that was
> cloned at the time of cloning.
>
> Example in the Python FlowFileTransformProxy [1] a flow file is cloned. When
> the cloned flow file leaves the processor the content remains content of the
> original flow file.
>
> HOWEVER when viewed in the Data Provenance Viewer of the processor the cloned
> event reflects the content and attributes of the flow file that left the
> processor and was modified following the clone event
> CLONE EVENT in Processor Provenance View
> !image-2024-09-26-11-00-43-937.png!
> Attributes reflect modified file not original
> !image-2024-09-26-11-01-29-311.png!
> Content reflects Modified Flow File not File at the time of cloning
> !image-2024-09-26-11-02-20-538.png!
>
> The Flow File in the outbound Queue shows the EXPECTED flow file information
> taken from the point of the file clone
> !image-2024-09-26-11-08-08-377.png!
>
> [1]
> [https://github.com/apache/nifi/blob/main/nifi-extension-bundles/nifi-py4j-extension-bundle/nifi-py4j-bridge/src/main/java/org/apache/nifi/python/processor/FlowFileTransformProxy.java]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)