bbende opened a new pull request #3322: NIFI-6055 Improving error handling 
during auto-loading of NARs and en…
URL: https://github.com/apache/nifi/pull/3322
 
 
   …suring only one Jetty NAR is loaded
   
   NIFI-6056 Fixing cassandra bundle so nifi-mock is a test scoped and removing 
incorrect usage of ProviderCreation exception from nifi-framework-api
   
   To test this PR you can run the assembly built from this branch which is 
currently 1.10.0-SNAPSHOT and then copy in the entire lib directory from 
another version like 1.9.0 to the extensions auto-load directory. After 
refreshing the UI all processors should have a second version available.
   
   You should error/warn messages in the log about skipping the jetty and 
framework nar from 1.9.0 and failing to load other components like state 
providers, authorizers, etc.
   
   If you then restart NiFi, it should fail start up because there are two 
version of Jetty and framework NARs available. Remove the ones from extensions 
auto-load and then the application should start correctly.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to