Mark Payne created NIFI-870:
-------------------------------

             Summary: 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
             Fix For: 0.4.0


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)

Reply via email to