I have been using SniffConnectionPool with url designated to primary master node and just tried ThriftConnection.
I noticed that connection pool sniffed http/json binded port (9207), not thrift port(9507).
I think it should use 'thrift_address' instead of 'http_address' when using ThriftConnection
{
"cluster_name" : "elasticsearch",
"nodes" : {
"XOVBm3_gRbKNZyHMfz3jXw" : {
"name" : "Blackbird",
"transport_address" : "inet[/192.168.0.205:9307]",
"host" : "memcache",
"ip" : "192.168.0.205",
"version" : "1.4.2",
"build" : "927caff",
"http_address" : "inet[/192.168.0.205:9207]",
"thrift_address" : "/192.168.0.205:9507"
},
... and so on
}
}