datastax/spark-cassandra-connector — pull request #312 by pkolaczk (2014-10-08 08:01:04+00:00)
Title: Fix connection problems with fetching token ranges from hosts with rpc_a...

...ddress different than listen_address.

Use rpc_endpoints instead of endpoints in CassandraRDDPartitioner.
Log host address(es) and ports on connection failures.
Close thrift transport if connection fails for some reason after opening the transport, e.g. authentication failure.

Fixes #304.