[ https://issues.apache.org/jira/browse/NIFI-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15011211#comment-15011211 ]
ASF subversion and git services commented on NIFI-1181: ------------------------------------------------------- Commit 93be753301559119205803182a49a550a5aa3486 in nifi's branch refs/heads/master from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=93be753 ] NIFI-1181: Ensure that a FlowFile's uuid cannot be modified by processors Signed-off-by: Aldrin Piri <ald...@apache.org> > Core attributes should be guarded > ---------------------------------- > > Key: NIFI-1181 > URL: https://issues.apache.org/jira/browse/NIFI-1181 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Affects Versions: 0.3.0 > Reporter: Aldrin Piri > Fix For: 0.4.0 > > Attachments: > 0001-NIFI-1181-Ensure-that-a-FlowFile-s-uuid-cannot-be-mo.patch > > > Evaluating some work for UpdateAttributes, specifically the ability to delete > attributes, led to being able to delete UUID > (https://github.com/apache/nifi/pull/116) > As a result, the framework was nonplussed at the missing core attribute, uuid: > {quote} > 12:53:35 ESTERROR6d65c083-eb22-4ae7-b542-de808b1402d0 > UpdateAttribute[id=6d65c083-eb22-4ae7-b542-de808b1402d0] > UpdateAttribute[id=6d65c083-eb22-4ae7-b542-de808b1402d0] failed to process > session due to java.lang.IllegalStateException: Cannot create Provenance > Event Record because FlowFile UUID is not set: > java.lang.IllegalStateException: Cannot create Provenance Event Record > because FlowFile UUID is not set > {quote} > Not sure if this applies to other core attributes, but at minimum, it seems > like the UUID needs to have some framework level guarding against it from > being inappropriately modified. -- This message was sent by Atlassian JIRA (v6.3.4#6332)