[
https://issues.apache.org/jira/browse/NIFI-16410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Doran resolved NIFI-16410.
--------------------------------
Fix Version/s: 2.13.0
Resolution: Fixed
> Log single-match NAR dependency fallback at INFO instead of WARN
> ----------------------------------------------------------------
>
> Key: NIFI-16410
> URL: https://issues.apache.org/jira/browse/NIFI-16410
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Kevin Doran
> Assignee: Kevin Doran
> Priority: Major
> Fix For: 2.13.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> When NiFi cannot find the exact declared NAR dependency but finds a single
> alternative matching the dependency ID, it uses that dependency and continues
> loading. This supported fallback currently logs at WARN:
> While loading 'org.example:example-processors-nar:1.1.0' unable to locate
> exact NAR dependency 'org.example:example-api-nar:1.1.0'. Only found one
> possible match 'org.example:example-api-nar:1.0.0'. Continuing...
> Change this message to INFO in both startup loading and additional NAR
> loading inĀ {{{}NarClassLoaders{}}}. This keeps the dependency substitution
> visible without presenting it as a loading failure.
> Dependency resolution behavior and warnings for unresolved dependencies
> remain unchanged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)