pvillard31 commented on issue #3945: NIFI-6960: Add Provenance Table to 
MetricsSqlQueryService
URL: https://github.com/apache/nifi/pull/3945#issuecomment-571922858
 
 
   I merged your patch for NIFI-6989 and it's better but I still have the below 
error when using QueryNiFiReportingTask (Include Zero Record Results set to 
false) with SiteToSiteReportingRecordSink (after a fresh start of NiFi with no 
provenance events to send):
   
   ````
   2020-01-08 14:14:18,350 ERROR [pool-40-thread-1] 
o.a.n.r.util.SiteToSiteRestApiClient Failed to send data to 
http://localhost:8080/nifi-api/data-transfer/input-ports/81775e5c-016f-1000-093b-b91f6926a6e0/transactions/9eadf9a7-df0b-4607-88d9-4a806283c527/flow-files
 due to org.apache.http.ConnectionClosedException: Connection closed 
unexpectedly
   org.apache.http.ConnectionClosedException: Connection closed unexpectedly
        at 
org.apache.http.nio.protocol.HttpAsyncRequestExecutor.closed(HttpAsyncRequestExecutor.java:140)
        at 
org.apache.http.impl.nio.client.InternalIODispatch.onClosed(InternalIODispatch.java:71)
        at 
org.apache.http.impl.nio.client.InternalIODispatch.onClosed(InternalIODispatch.java:39)
        at 
org.apache.http.impl.nio.reactor.AbstractIODispatch.disconnected(AbstractIODispatch.java:100)
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:279)
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:440)
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.hardShutdown(AbstractIOReactor.java:576)
        at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.doShutdown(AbstractMultiworkerIOReactor.java:446)
        at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:374)
        at 
org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        at 
org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        at java.lang.Thread.run(Thread.java:748)
   2020-01-08 14:14:18,350 WARN [pool-40-thread-1] 
o.a.n.r.s.SiteToSiteReportingRecordSink 
SiteToSiteReportingRecordSink[id=41f3a256-016f-1000-a580-3b08af83c979] Failed 
to send data to 
http://localhost:8080/nifi-api/data-transfer/input-ports/81775e5c-016f-1000-093b-b91f6926a6e0/transactions/9eadf9a7-df0b-4607-88d9-4a806283c527/flow-files
 due to org.apache.http.ConnectionClosedException: Connection closed 
unexpectedly
   ````
   
   It works fine if there is data to send or if I set Include Zero Record 
Results to true.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to