You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2015/11/17 18:56:10 UTC

[jira] [Created] (NIFI-1181) Core attributes should be guarded

Aldrin Piri created NIFI-1181:
---------------------------------

             Summary: 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


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)