You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/23 08:09:00 UTC

[jira] [Commented] (NIFI-6220) Cloning a FlowFile results in unnecessary ATTRIBUTES_MODIFIED provenance event

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

ASF subversion and git services commented on NIFI-6220:
-------------------------------------------------------

Commit 055b3cac54e3e234c0ee07189b7b7b85e0582d58 in nifi's branch refs/heads/master from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=055b3ca ]

NIFI-6220: If FlowFile is created by cloning a relationship, do not create an ATTRIBUTES_MODIFIED provenance event for it.

NIFI-6220: Updated test name and fixed typo

This closes #3438.

Signed-off-by: Koji Kawamura <ij...@apache.org>


> Cloning a FlowFile results in unnecessary ATTRIBUTES_MODIFIED provenance event
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-6220
>                 URL: https://issues.apache.org/jira/browse/NIFI-6220
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.10.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> When a FlowFile is cloned by connecting a component's relationship to multiple outputs, a provenance CLONE event is created. However, it also currently is creating an ATTRIBUTES_MODIFIED event, showing that all attributes were modified.
> To replicate, create a GenerateFlowFile and connect its 'success' relationship to two different processors. Run the flow, then look at the lineage for one of the FlowFiles. it will show a FlowFile was CREATEd, then CLONEd. But if you expand the CLONE event, there will also be an ATTRIBUTES_MODIFIED event that shows all attributes having been added. This event should not exist.



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