Nifi-远程进程组-PeerSelector

时间:2018-10-18 07:31:43

标签: cluster-computing apache-nifi peer communicate remote-process

我已经建立了一个简单的流程组。它会生成一个其中包含一些随机内容的FlowFile,并将其发送到Nifi远程进程组。 该远程进程组被配置为将FlowFile发送到localhost或在这种情况下发送到我自己的主机名(我也尝试使用localhost)。

在此之后,FlowFile应该出现在“ From MiNiFi”输入端口,并被发送到LogAttribute。没什么特别的。

Here a screenshot of the Process Group

我配置为使用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浪费了太多时间

1 个答案:

答案 0 :(得分:0)

在nifi.properties中,您具有nifi.web.http.host = f4f40c87b65f,这意味着NiFi正在监听请求的主机名是f4f40c87b65f,这意味着RPG的URL必须为http://f4f40c87b65f:8080/nifi