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

Jake Farrell closed THRIFT-1720.
--------------------------------

       Resolution: Not A Problem
    Fix Version/s: 0.9.1
         Assignee: Jake Farrell

This is a jruby issue and has been resolved within jruby according to 
http://jira.codehaus.org/browse/JRUBY-5165
                
> JRuby times out on successful connection
> ----------------------------------------
>
>                 Key: THRIFT-1720
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1720
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.8, 0.9
>         Environment: jruby 1.6.7 and 1.6.8
>            Reporter: Hawk Newton
>            Assignee: Jake Farrell
>             Fix For: 0.9.1
>
>         Attachments: thrift-1720-branch-0.8.x.diff, thrift-1720-trunk.diff
>
>
> Under JRuby any thrift socket that doesn't connect immediately will result in 
> a connection timeout.
> Under MRI IO.select returns an array of IO objects.
> Under JRuby IO.select returns nil, even when an object is ready.
> Connections to a cassandra instance on localhost will usually be successful, 
> as socket.connect_nonblock actually connects synchronously.
> The following code fails with no pause under JRuby (but works under MRI) when 
> connecting to a remote cassandra cluster:
> {code}
> Thrift::Socket.new(remote_server, 9160, 10).open
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to