You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Sivaprasanna Sethuraman (JIRA)" <ji...@apache.org> on 2018/06/20 14:49:00 UTC

[jira] [Commented] (NIFI-5320) Template instantiation failure when multiple component nar versions exist

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

Sivaprasanna Sethuraman commented on NIFI-5320:
-----------------------------------------------

[~msclarke]

Are you saying a template created in one NiFi version bundle, say 1.3.0 and then when imported to a different one, say NiFi version 1.7.0 fails with this error? I just created a template on NiFi 1.6.0 setup and successfully imported it to the latest master i.e. 1.7.0-SNAPSHOT. Am I missing something?

> Template instantiation failure when multiple component nar versions exist
> -------------------------------------------------------------------------
>
>                 Key: NIFI-5320
>                 URL: https://issues.apache.org/jira/browse/NIFI-5320
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.5.0
>            Reporter: Matthew Clarke
>            Priority: Minor
>
> NiFi allows users to load multiple versions of the same component nar.
> For example:
> nifi-scripting-nar:1.2.0
> nifi-scripting-nar:1.5.0
> -
> Once I have done this, if i try to instantiate a template to the canvas that has a processor from this nar bundle that is neither of these versions (nifi-scripting-nar:1.3.0), it will fail to instantiate the entire template.
> -
> This error is displayed to user:
> "Multiple versions of org.apache.nifi.processors.script.ExecuteScript exist. No exact match for org.apache.nifi:nifi-scripting-nar:1.3.0"
> -
> When there are not multiple nar versions, template instantiation works fine since NiFi will automatically select the current processor version.
> -
> NiFi should allow a user to instantiate a template in such a scenario by either:
> 1. Prompt user to select which of the available versions to use during instantiation. 
> 2. Auto-select a new version (select most current version by default)
> -



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