You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2015/11/07 04:13:11 UTC

[jira] [Updated] (NIFI-870) If unable to connect to remote instance, Remote Process Group does not create a bulletin

     [ https://issues.apache.org/jira/browse/NIFI-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Witt updated NIFI-870:
-----------------------------
    Fix Version/s:     (was: 0.4.0)

> If unable to connect to remote instance, Remote Process Group does not create a bulletin
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-870
>                 URL: https://issues.apache.org/jira/browse/NIFI-870
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>
> In testing the patch provided for NIFI-868, I set the nifi properties to advertise the hostname as "otherhost". Site-to-Site, of course, failed to connect, but no bulletin ever was generated. In the logs, I saw the following stack trace many times, as it kept attempt to connect:
> 2015-08-19 13:03:46,083 WARN [Timer-Driven Process Thread-10] o.a.n.c.t.ContinuallyRunConnectableTask RemoteGroupPort[name=in,target=http://localhost:8080/nifi] Administratively Pausing for 10 seconds due to processing failure: java.lang.RuntimeException: java.nio.channels.UnresolvedAddressException
> java.lang.RuntimeException: java.nio.channels.UnresolvedAddressException
> 	at org.apache.nifi.controller.AbstractPort.onTrigger(AbstractPort.java:234) ~[nifi-framework-core-api-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.controller.tasks.ContinuallyRunConnectableTask.call(ContinuallyRunConnectableTask.java:80) [nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.controller.tasks.ContinuallyRunConnectableTask.call(ContinuallyRunConnectableTask.java:40) [nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:119) [nifi-framework-core-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_51]
> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_51]
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_51]
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_51]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]
> Caused by: java.nio.channels.UnresolvedAddressException: null
> 	at sun.nio.ch.Net.checkAddress(Net.java:123) ~[na:1.8.0_51]
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622) ~[na:1.8.0_51]
> 	at java.nio.channels.SocketChannel.open(SocketChannel.java:189) ~[na:1.8.0_51]
> 	at org.apache.nifi.remote.client.socket.EndpointConnectionPool.establishSiteToSiteConnection(EndpointConnectionPool.java:708) ~[nifi-site-to-site-client-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.remote.client.socket.EndpointConnectionPool.establishSiteToSiteConnection(EndpointConnectionPool.java:682) ~[nifi-site-to-site-client-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.remote.client.socket.EndpointConnectionPool.getEndpointConnection(EndpointConnectionPool.java:300) ~[nifi-site-to-site-client-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.remote.client.socket.SocketClient.createTransaction(SocketClient.java:129) ~[nifi-site-to-site-client-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.remote.StandardRemoteGroupPort.onTrigger(StandardRemoteGroupPort.java:167) ~[nifi-site-to-site-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	at org.apache.nifi.controller.AbstractPort.onTrigger(AbstractPort.java:227) ~[nifi-framework-core-api-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
> 	... 10 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)