簡體   English   中英

Nifi-遠程進程組-PeerSelector

[英]Nifi - Remote Process Group - PeerSelector

我建立了一個簡單的過程組。 它會生成一個其中包含一些隨機內容的FlowFile,並將其發送到Nifi遠程進程組。 該遠程進程組被配置為將FlowFile發送到localhost或在這種情況下發送到我自己的主機名(我也嘗試過localhost)。

之后,FlowFile應該出現在“ From MiNiFi”輸入端口,並發送到LogAttribute。 沒什么特別的。

這里是過程組的屏幕截圖

我配置為使用RAW,但使用HTTP均無法正常工作。

我正在使用apache / nifi docker映像,但沒有更改nifi.properties和authorizers.xml中的某些內容,但是我為您提供了兩者:

nifi.properties

authorizers.xml

發生的錯誤是這樣的:

WARNING org.apache.nifi.remote.client.PeerSelector@40081613 Unable to refresh Remote Group´s peers due to Unable to communicate with remote Nifi cluster in order to determine which nodes exist in the remote cluster

我希望你能幫助我。 我在這個問題XD上浪費了太多時間

在nifi.properties中,您具有nifi.web.http.host = f4f40c87b65f,這意味着NiFi正在監聽請求的主機名是f4f40c87b65f,這意味着RPG的URL必須為http:// f4f40c87b65f:8080 / nifi

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM