Skip to content

Activate include-sql-reporting profile so NiFi images ship QueryNiFiReportingTask #1608

Description

@sweb

Summary

QueryNiFiReportingTask is missing from the NiFi images we ship. Upstream keeps nifi-sql-reporting-nar behind the non-default nifi-assembly profile include-sql-reporting, and our build does not activate it. The module itself is already compiled by our build, only the assembly inclusion is missing, so the fix is one profile name in nifi/Dockerfile.

Expected

QueryNiFiReportingTask is selectable as a Reporting Task in a NiFi Stacklet built from a stock SDP image.

Actual

The processor type does not exist; lib/ contains no nifi-sql-reporting-nar.

Workaround

Layer the upstream NAR onto the released image; no rebuild of NiFi needed. Example for
NiFi 2.7.2 from SDP 26.3.0:

FROM oci.stackable.tech/sdp/nifi:2.7.2-stackable26.3.0
USER 0
ADD --chown=1000:0 --chmod=660 \
  https://repo1.maven.org/maven2/org/apache/nifi/nifi-sql-reporting-nar/2.7.2/nifi-sql-reporting-nar-2.7.2.nar \
  /stackable/nifi/lib/
USER 1000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions