apache/cassandra — pull request #28 by jbojar (2014-03-01 01:57:33+00:00)
Title: Better support for virtual nodes in hadoop cql3

Better support for virtual nodes in hadoop cql3.
When vnodes are used, many ranges reside on same cassandra instance and too many RangeClients are created (many times more than there are cassandra instances).
I changed RangeClient caching key from Range to List of InetAddresses for given Range. So only one RangeClient is created for given address list.