Matthew Clarke created NIFI-3377:
------------------------------------

             Summary: NiFi RPG errors when switching between transport 
protocols.
                 Key: NIFI-3377
                 URL: https://issues.apache.org/jira/browse/NIFI-3377
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.1.0
            Reporter: Matthew Clarke
            Priority: Minor


If i have a RPG configured to use the RAW transport protocol and then switch it 
to use HTTTP transport protocol, it will throw the following error message 
twice before finally correcting itself:

2017-01-19 22:10:32,363 ERROR [I/O dispatcher 841] 
o.a.n.r.util.SiteToSiteRestApiClient Failed to create transaction for 
http://<hostname>.openstacklocal:8055/nifi-api/data-transfer/input-ports/b76c293d-0159-1000-0000-00003f85f297/transactions
org.apache.http.ConnectionClosedException: Connection closed unexpectedly
        at 
org.apache.http.nio.protocol.HttpAsyncRequestExecutor.closed(HttpAsyncRequestExecutor.java:140)
 [httpcore-nio-4.4.5.jar:4.4.5]
        at 
org.apache.http.impl.nio.client.InternalIODispatch.onClosed(InternalIODispatch.java:71)
 [httpasyncclient-4.1.2.jar:4.1.2]
        at 
org.apache.http.impl.nio.client.InternalIODispatch.onClosed(InternalIODispatch.java:39)
 [httpasyncclient-4.1.2.jar:4.1.2]
        at 
org.apache.http.impl.nio.reactor.AbstractIODispatch.disconnected(AbstractIODispatch.java:100)
 [httpcore-nio-4.4.5.jar:4.4.5]
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:279)
 [httpcore-nio-4.4.5.jar:4.4.5]
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:440)
 [httpcore-nio-4.4.5.jar:4.4.5]
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:283)
 [httpcore-nio-4.4.5.jar:4.4.5]
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) 
[httpcore-nio-4.4.5.jar:4.4.5]
        at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
 [httpcore-nio-4.4.5.jar:4.4.5]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]


Similarly the following ERROR message will be thrown many times when switching 
from HTTP to the RAW transport protocol:

2017-01-19 22:13:15,916 ERROR [Timer-Driven Process Thread-10] 
o.a.nifi.remote.StandardRemoteGroupPort 
RemoteGroupPort[name=outport2,targets=http://<hostname>:9090/nifi/] failed to 
communicate with http://<hostname>:9090/nifi/ due to 
org.apache.nifi.remote.exception.HandshakeException: 
org.apache.nifi.remote.exception.ProtocolException: Expected to receive 
ResponseCode, but the stream did not have a ResponseCode


With both these scenarios, the RPG will eventually correct itself and start 
working again.  User may be hesitant to wait once they start seeing these 
ERRORS and instead stop the RPG since the self correction does not occur 
rapidly.



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

Reply via email to