Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with host parsing when sniffing host in elasticsearch ver 1.x #386

Closed
jffifa opened this issue Mar 25, 2016 · 1 comment
Closed

Comments

@jffifa
Copy link

jffifa commented Mar 25, 2016

Host sniffing use "/_nodes/_all/clear" to get hosts information,
where address returned in elasticsearch ver 1.x in format inet\[/IP:PORT\] like

"transport_address" : "inet[/192.168.0.2:9300]"

while in ver 2.x in format [HOSTNAME/]IP:PORT like

"transport_address" : "192.168.0.2:9300"

Such case cause incompatibility with parsing host info using client ver 2.x in elasticsearch 1.x, which obstructs upgrading from 1.x to 2.x in some respects.

@honzakral
Copy link
Contributor

The client is not backwards compatible - if you use Elasticsearch 1.x you have to also use 1.x version of the client, same for 2.x - always keep the major version in sync.

There are other differences between the versions that cannot be bridged like this one so there is nothing we can do unfortunately - you have to chose the correct version to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants