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

Đang mở Phù hợp với người mới
#1,608 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
90/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker
Lĩnh vực
build-system

Hướng nghiên cứu

Mở nifi/Dockerfile và tìm cấu hình profile nifi-assembly. Kích hoạt profile include-sql-reporting, sau đó build một image SDP NiFi mặc định và xác minh rằng nifi-sql-reporting-nar xuất hiện trong lib/ và QueryNiFiReportingTask có thể được chọn làm Reporting Task.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

customer-request

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
Ngôn ngữ chính
Dockerfile
Star
22
Fork
6
Merge trung bình
16 giờ 59 phút
Pull request đã merge (30 ngày)
30

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stackabletech/docker-images

Tất cả issue của stackabletech/docker-images

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.