[
https://issues.apache.org/jira/browse/NIFI-15531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18056464#comment-18056464
]
ASF subversion and git services commented on NIFI-15531:
--------------------------------------------------------
Commit 4c841b329105607d9b499ec663608474e75dfa5a in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4c841b3291 ]
NIFI-15531 Repositioned logging for NAR expansion to include extension mapping
(#10836)
Signed-off-by: David Handermann <[email protected]>
> 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
> 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)