Skip to content

ThriftConnection with SniffConnectionPool doesn't work. #1189

@christallire

Description

@christallire

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
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions