[
https://issues.apache.org/jira/browse/NIFI-15531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-15531:
------------------------------------
Fix Version/s: 2.8.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Reposition log messages in org.apache.nifi.nar.NarUnpacker to indicate how
> long the mapping of extensions take
> --------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-15531
> URL: https://issues.apache.org/jira/browse/NIFI-15531
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Fix For: 2.8.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Depending on different systems, it can take a few seconds for mapping
> extensions but it is not clear in the logs what is happening. In the example
> below there is ~40 seconds from when all the nar files have been expanded
> until the first nar file is loaded.
>
> {code:java}
> 2025-09-15 13:58:51,322 INFO [main] org.apache.nifi.nar.NarUnpacker Expanding
> 111 NAR files started
> 2025-09-15 13:59:19,783 INFO [main] org.apache.nifi.nar.NarUnpacker Expanded
> 111 NAR files in 28.461 seconds (28461014222 ns)
> 2025-09-15 13:59:59,298 INFO [main] org.apache.nifi.nar.NarClassLoaders
> Loaded NAR file:
> /home/someuser/nifi-2.6.0-SNAPSHOT/./work/nar/extensions/nifi-jetty-nar-2.6.0-SNAPSHOT.nar-unpacked
> as class loader
> {code}
>
> The point of this ticket is to reposition the first two log statements above
> in order to encompass the time of mapping extensions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)