Activate include-sql-reporting profile so NiFi images ship QueryNiFiReportingTask
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 90/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- docker
- Domain
- build-system
Research direction
Open nifi/Dockerfile and find the nifi-assembly profile configuration. Activate the include-sql-reporting profile, then build a stock SDP NiFi image and verify that nifi-sql-reporting-nar appears under lib/ and QueryNiFiReportingTask is selectable as a Reporting Task.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Dockerfile
- Stars
- 22
- Forks
- 6
- Avg merge
- 16h 59m
- Merged PRs (30d)
- 30
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stackabletech/docker-images
-
scheduled-for/26.11.0
stackabletech/docker-images#1658 · 1 comment · 1 assignee ·
-
scheduled-for/26.11.0
Difficulty 4/5 3-5 days Newbie friendliness 35/100
stackabletech/docker-images#1657 ·
-
scheduled-for/26.11.0
Difficulty 4/5 3-5 days Newbie friendliness 48/100
stackabletech/docker-images#1656 ·
-
scheduled-for/26.11.0
Difficulty 4/5 3-5 days Newbie friendliness 48/100
stackabletech/docker-images#1655 ·
-
scheduled-for/26.11.0
Difficulty 4/5 3-5 days Newbie friendliness 45/100
stackabletech/docker-images#1654 ·
All issues in stackabletech/docker-images
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
agentic-workflows cascade-suspected
Difficulty 1/5 Under an hour Newbie friendliness 88/100