You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Edgardo Vega <ed...@gmail.com> on 2015/08/26 20:32:26 UTC

Clustering issue

I have setup a 4 machine nifi cluster with one machine being the manager
and the rest being nodes. I am currently getting the following messages in
the manager

2015-08-26 18:19:26,899 WARN [NiFi Web Server-20]
o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
[id=5a8c5b37-c2c8-48ab-912e-b27ac56a48ad, apiAddress=localhost,
apiPort=8080, socketAddress=nifi-node-0, socketPort=11002] encountered
exception: java.util.concurrent.ExecutionException:
com.sun.jersey.api.client.ClientHandlerException:
java.net.SocketTimeoutException: Read timed out
2015-08-26 18:19:26,902 WARN [NiFi Web Server-20]
o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
[id=4660a1c7-ccea-4693-bea2-2f1c4150fea1, apiAddress=localhost,
apiPort=8080, socketAddress=nifi-node-1, socketPort=11002] encountered
exception: java.util.concurrent.ExecutionException:
com.sun.jersey.api.client.ClientHandlerException:
java.net.SocketTimeoutException: Read timed out
2015-08-26 18:19:26,906 WARN [NiFi Web Server-20]
o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
[id=a74c8da7-f29a-48ef-8031-422a5e33c52d, apiAddress=localhost,
apiPort=8080, socketAddress=nifi-node-2, socketPort=11002] encountered
exception: java.util.concurrent.ExecutionException:
com.sun.jersey.api.client.ClientHandlerException:
java.net.SocketTimeoutException: Read timed out

I was able to telnet to each machine on port 11002 so I am not sure what is
exactly going on. I am also not sure with the apiAddress of localhost is
coming from.

Any help would be appreciate.

-- 
Cheers,

Edgardo

Re: Clustering issue

Posted by Joe Witt <jo...@gmail.com>.
Thank you for following up and glad you got it sorted
On Aug 26, 2015 3:10 PM, "Edgardo Vega" <ed...@gmail.com> wrote:

> Figured it out. I did not set the nifi.web.http.host property on the nodes.
> Hopefully this helps the next person that runs into the issue.
>
> Cheers,
>
> Edgardo
>
> On Wed, Aug 26, 2015 at 2:32 PM, Edgardo Vega <ed...@gmail.com>
> wrote:
>
> > I have setup a 4 machine nifi cluster with one machine being the manager
> > and the rest being nodes. I am currently getting the following messages
> in
> > the manager
> >
> > 2015-08-26 18:19:26,899 WARN [NiFi Web Server-20]
> > o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
> > [id=5a8c5b37-c2c8-48ab-912e-b27ac56a48ad, apiAddress=localhost,
> > apiPort=8080, socketAddress=nifi-node-0, socketPort=11002] encountered
> > exception: java.util.concurrent.ExecutionException:
> > com.sun.jersey.api.client.ClientHandlerException:
> > java.net.SocketTimeoutException: Read timed out
> > 2015-08-26 18:19:26,902 WARN [NiFi Web Server-20]
> > o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
> > [id=4660a1c7-ccea-4693-bea2-2f1c4150fea1, apiAddress=localhost,
> > apiPort=8080, socketAddress=nifi-node-1, socketPort=11002] encountered
> > exception: java.util.concurrent.ExecutionException:
> > com.sun.jersey.api.client.ClientHandlerException:
> > java.net.SocketTimeoutException: Read timed out
> > 2015-08-26 18:19:26,906 WARN [NiFi Web Server-20]
> > o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
> > [id=a74c8da7-f29a-48ef-8031-422a5e33c52d, apiAddress=localhost,
> > apiPort=8080, socketAddress=nifi-node-2, socketPort=11002] encountered
> > exception: java.util.concurrent.ExecutionException:
> > com.sun.jersey.api.client.ClientHandlerException:
> > java.net.SocketTimeoutException: Read timed out
> >
> > I was able to telnet to each machine on port 11002 so I am not sure what
> > is exactly going on. I am also not sure with the apiAddress of localhost
> is
> > coming from.
> >
> > Any help would be appreciate.
> >
> > --
> > Cheers,
> >
> > Edgardo
> >
>
>
>
> --
> Cheers,
>
> Edgardo
>

Re: Clustering issue

Posted by Edgardo Vega <ed...@gmail.com>.
Figured it out. I did not set the nifi.web.http.host property on the nodes.
Hopefully this helps the next person that runs into the issue.

Cheers,

Edgardo

On Wed, Aug 26, 2015 at 2:32 PM, Edgardo Vega <ed...@gmail.com>
wrote:

> I have setup a 4 machine nifi cluster with one machine being the manager
> and the rest being nodes. I am currently getting the following messages in
> the manager
>
> 2015-08-26 18:19:26,899 WARN [NiFi Web Server-20]
> o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
> [id=5a8c5b37-c2c8-48ab-912e-b27ac56a48ad, apiAddress=localhost,
> apiPort=8080, socketAddress=nifi-node-0, socketPort=11002] encountered
> exception: java.util.concurrent.ExecutionException:
> com.sun.jersey.api.client.ClientHandlerException:
> java.net.SocketTimeoutException: Read timed out
> 2015-08-26 18:19:26,902 WARN [NiFi Web Server-20]
> o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
> [id=4660a1c7-ccea-4693-bea2-2f1c4150fea1, apiAddress=localhost,
> apiPort=8080, socketAddress=nifi-node-1, socketPort=11002] encountered
> exception: java.util.concurrent.ExecutionException:
> com.sun.jersey.api.client.ClientHandlerException:
> java.net.SocketTimeoutException: Read timed out
> 2015-08-26 18:19:26,906 WARN [NiFi Web Server-20]
> o.a.n.c.m.impl.HttpRequestReplicatorImpl Node request for
> [id=a74c8da7-f29a-48ef-8031-422a5e33c52d, apiAddress=localhost,
> apiPort=8080, socketAddress=nifi-node-2, socketPort=11002] encountered
> exception: java.util.concurrent.ExecutionException:
> com.sun.jersey.api.client.ClientHandlerException:
> java.net.SocketTimeoutException: Read timed out
>
> I was able to telnet to each machine on port 11002 so I am not sure what
> is exactly going on. I am also not sure with the apiAddress of localhost is
> coming from.
>
> Any help would be appreciate.
>
> --
> Cheers,
>
> Edgardo
>



-- 
Cheers,

Edgardo