[ 
https://issues.apache.org/jira/browse/NIFI-6138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander T updated NIFI-6138:
------------------------------
    Description: 
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.secret.secretpj.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}

  was:
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}


> 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.secret.secretpj.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)

Reply via email to