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

Joseph Witt updated NIFI-1523:
------------------------------
    Fix Version/s:     (was: 0.6.0)

> Improve exception message when trying to connect to output port that is not 
> started.
> ------------------------------------------------------------------------------------
>
>                 Key: NIFI-1523
>                 URL: https://issues.apache.org/jira/browse/NIFI-1523
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Oleg Zhurakousky
>            Priority: Trivial
>
> Basically what I have now is  a simple flow where GenerateFlowFile sends to 
> output Port named _toSpark_. When trying to connect to port which is not 
> started I see the following exception message:
> {code}
> org.apache.nifi.remote.exception.PortNotRunningException: 
> Peer[url=nifi://localhost:8888,CLOSED] indicates that port 
> 35c61f87-6a57-4aab-ac77-34006fc7ab68 is not running
>       at 
> org.apache.nifi.remote.client.socket.EndpointConnectionPool.getEndpointConnection(EndpointConnectionPool.java:351)
>       at 
> org.apache.nifi.remote.client.socket.SocketClient.createTransaction(SocketClient.java:129)
>       at 
> org.apache.nifi.spark.NiFiReceiver$ReceiveRunnable.run(NiFiReceiver.java:149)
>       at java.lang.Thread.run(Thread.java:745)
> {code}
> Since port's generated id (35c61f87-6a57-4aab-ac77-34006fc7ab68) is not 
> immediately visible from the UI it could be more difficult then it need to be 
> to track it in a multi port system. 
> So adding port name to the message would help



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

Reply via email to