[
https://issues.apache.org/jira/browse/NIFI-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018326#comment-15018326
]
Aldrin Piri commented on NIFI-1181:
-----------------------------------
I believe that to be true as that is core to the framework's handling, the
others are not as strictly controlled and could see potential reasons for
removing each.
Title is inexact, but I shall defer to [~markap14] if I have glossed over any
details.
> 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
> Assignee: Mark Payne
> 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)