[
https://issues.apache.org/jira/browse/NIFI-6138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16798364#comment-16798364
]
Alexander T commented on NIFI-6138:
-----------------------------------
Hi Bryan,
thanks for information. Well, I was not sure if this is a bug...so I declared
it as an improvent. As I understand, it works as designed =)
I think adding a timestamp to the version info should not be a
problem...something like that '{{${maven.build.timestamp}}}' at the right place
in the pom...our maven gurus
are going to tell me.
What I do not understand is, what happens if I have a bundle like
'nifi-extension-coolstuff-processor-0.1.0-SNAPSHOT-timestampXXX.nar' deployed
and I redeploy
a newer version with 'timestampYYY'? Then, also the new and the old version of
the processor are available, and the processor in the 'flow.xml' is still
running with
the old code/version?
> NarAutoLoaderTask: NARs are not unpacked after REdeploy
> -------------------------------------------------------
>
> Key: NIFI-6138
> URL: https://issues.apache.org/jira/browse/NIFI-6138
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.9.0
> Reporter: Alexander T
> Priority: Minor
>
> Since NiFi 1.9.0 live/auto reloading for nars is implemented by placing them
> in $NIFI_HOME/extensions directory. This works fine in case of first
> deployment,
> but in case of development you propably have to redelpoy the 'same' NAR
> multiple times.
> (NAR has same name, but different Timestamp).
> When doing so, NarAutoLoader recognizes a new bundle but does not unpack it
> (see log)
> {code:java}
> 2019-03-21 09:13:27,740 INFO [NAR Auto-Loader]
> org.apache.nifi.nar.NarAutoLoaderTask Found
> ./extensions/nifi-sample-nar-0.1.0-SNAPSHOT.nar in auto-load directory
> 2019-03-21 09:13:27,741 INFO [NAR Auto-Loader]
> org.apache.nifi.nar.StandardNarLoader Starting load process for 1 NARs...
> 2019-03-21 09:13:27,745 WARN [NAR Auto-Loader]
> org.apache.nifi.nar.StandardNarLoader Found existing bundle with coordinate
> at.rsg.ptdpaa.nifi:nifi-sample-nar:0.1.0-SNAPSHOT, will not load
> /opt/local/nifi/nifi-1.9.1/./extensions/nifi-sample-nar-0.1.0-SNAPSHOT.nar
> 2019-03-21 09:13:27,745 INFO [NAR Auto-Loader]
> org.apache.nifi.nar.StandardNarLoader No NARs were unpacked, nothing to
> do{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)