Skip to content

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

@jffifa

Description

@jffifa

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.

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