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

Projects
None yet
2 participants
@srakonjac-bb

srakonjac-bb commented Dec 16, 2015

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

This comment has been minimized.

Show comment
Hide comment
@costin

costin Jan 8, 2016

Member

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

Member

costin commented Jan 8, 2016

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

@costin costin closed this Jan 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment