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

オープン 初心者向け
#1,608 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
90/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker
領域
build-system

調査の方向性

nifi/Dockerfileを開き、nifi-assemblyプロファイルの設定を見つけます。include-sql-reportingプロファイルを有効化し、続いて標準のSDP NiFiイメージをビルドして、lib/配下にnifi-sql-reporting-narが表示され、QueryNiFiReportingTaskをReporting Taskとして選択できることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Dockerfile
スター
22
フォーク
6
平均マージ
16時間 59分
マージ済み PR(30日)
30

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackabletech/docker-images のほかの issue

stackabletech/docker-images の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。