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

IP Address badly parsed in org.elasticsearch.hadoop.serialization.dto.Node #630

Closed
srakonjac-bb opened this issue Dec 16, 2015 · 1 comment

Comments

@srakonjac-bb
Copy link

Hello,

There's a bug in class org.elasticsearch.hadoop.serialization.dto.Node:56 where ipAddress is being parsed as a portion of httpAddr starting from ':'.

Library version is elasticsearch-spark_2.11-2.2.0-m1

Lines 55-57 follow:

        int portIndex = httpAddr.indexOf(":");
        ipAddress = httpAddr.substring(portIndex);
        httpPort = Integer.valueOf(httpAddr.substring(portIndex + 1));
@costin
Copy link
Member

costin commented Jan 8, 2016

Correct however this has been fixed in 2.2.0-beta1. Thanks for reporting!

@costin costin closed this as completed Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants