[ 
https://issues.apache.org/jira/browse/CASSANDRA-8777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315079#comment-14315079
 ] 

Brandon Williams commented on CASSANDRA-8777:
---------------------------------------------

An example of this:

{noformat}
[Stream #f1c44b20-ae44-11e4-8ca2-ff2c74060249] Streaming error occurred 
java.net.ConnectException: Connection refused 
at sun.nio.ch.Net.connect0(Native Method) 
at sun.nio.ch.Net.connect(Net.java:465) 
at sun.nio.ch.Net.connect(Net.java:457) 
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:666) 
at java.nio.channels.SocketChannel.open(SocketChannel.java:184) 
at 
org.apache.cassandra.tools.BulkLoadConnectionFactory.createConnection(BulkLoadConnectionFactory.java:62)
 
at 
org.apache.cassandra.streaming.StreamSession.createConnection(StreamSession.java:222)
 
at 
org.apache.cassandra.streaming.ConnectionHandler.initiate(ConnectionHandler.java:77)
 
at org.apache.cassandra.streaming.StreamSession$1.run(StreamSession.java:208) 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
at java.lang.Thread.run(Thread.java:744) 
{noformat}

We know the connection was refused, but  we don't know where, so in 
troubleshooting we have to resort to packet capture.

> Streaming operations should log both endpoint and port associated with the 
> operation
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8777
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8777
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jeremy Hanna
>              Labels: lhf
>
> Currently we log the endpoint for a streaming operation.  If the port has 
> been overridden, it would be valuable to know that that setting is getting 
> picked up.  Therefore, when logging the endpoint address, it would be nice to 
> also log the port it's trying to use.



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

Reply via email to