Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
In NarUnpacker
a bundleCoordinate map is populated during a for loop which un-packs the nars found in extension work dir.
This is great.
However if we want to optimize nifi size, we could keep only the un-packed the nars, delete the original nar archive files, and save hundreds of MBs of diskspace.
In this case, the bundle-coordinate map is not populated, as the nar files are no longer present, only their unpacked , directory version are present.
Such empty bundle-coordinate map will result in an empty ExtensionMapping which is returned, and is supplied to downstream components, eg.:
jettyserver puts it on context for web docs servlet
https://github.com/apache/nifi/blob/9a496fe9d2681fca06fb6f071d0fa39d71bc5268/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java#L1005
and the nifi-web-docs DocumentationController uses it:
In such case, the resulting effect is that when the user does a right click on a processor, and clicks view-usage
None of the processors are showing in the help.
Attachments
Issue Links
- links to