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

migrate es to HTTP client and not TransportClient (on deprecation path) #92

Closed
amcp opened this issue Feb 6, 2017 · 5 comments
Closed

Comments

@amcp
Copy link

amcp commented Feb 6, 2017

At some point in the future, support for the Transport Client (native Java client) will be removed.
To mitigate, we need to use the HTTP API.

@sjudeng
Copy link
Contributor

sjudeng commented Feb 6, 2017

The current Java REST client in Elasticsearch 5.x is very low level. I'd recommend waiting until they release a higher level Java REST client before working on migration to avoid unnecessary work.

@amcp
Copy link
Author

amcp commented Feb 6, 2017

I agree it is extremely low level and would require major refactoring. We should wait for a higher level REST client. I just wanted to get ES lack of commitment to the transport client on our radar (so that we know to plan for it).

@pluradj
Copy link
Member

pluradj commented Mar 3, 2017

Related dev mailing list discussion https://groups.google.com/d/msg/janusgraph-dev/F-zfIsuiIoQ/q_R-kkhHDgAJ

krlohnes pushed a commit to krlohnes/janusgraph that referenced this issue Mar 7, 2017
Issue: JanusGraph#92

This adds http support to ElasticSearchIndex and removes support for the
Transport and Client modes. It also refactors the add/delete scripts to
use bindings since throwing a bunch of unique scripts at a Groovy
compiler isn't the best idea.

Signed-off-by: Keith Lohnes <krlohnes@us.ibm.com>
krlohnes pushed a commit to krlohnes/janusgraph that referenced this issue Mar 7, 2017
Issue: JanusGraph#92

This adds http support to ElasticSearchIndex and removes support for the
Transport and Client modes. It also refactors the add/delete scripts to
use bindings since throwing a bunch of unique scripts at a Groovy
compiler isn't the best idea.

Signed-off-by: Keith Lohnes <krlohnes@us.ibm.com>
krlohnes pushed a commit to krlohnes/janusgraph that referenced this issue Mar 8, 2017
Issue: JanusGraph#92

This adds http support to ElasticSearchIndex and removes support for the
Transport and Client modes. It also refactors the add/delete scripts to
use bindings since throwing a bunch of unique scripts at a Groovy
compiler isn't the best idea.

Signed-off-by: Keith Lohnes <krlohnes@us.ibm.com>
@sjudeng
Copy link
Contributor

sjudeng commented Apr 17, 2017

With merge of #79 JanusGraph now supports the low-level ES REST HTTP client. But keeping this issue open to track work on migrating to higher level HTTP client for ES (e.g. Jest or maybe eventually ES 6.x REST).

@sjudeng
Copy link
Contributor

sjudeng commented Jun 17, 2017

With merge of #289 JanusGraph now only supports the ES REST HTTP client and the Transport client is no longer support.

@sjudeng sjudeng closed this as completed Jun 17, 2017
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

4 participants