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

Feature to use TransportClient instead of NodeClient #17

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

jgagnon1
Copy link

With a large cluster, using NodeClient it is possible to encounter 'too many open files' errors due to the full-mesh connections between each elasticsearch node (including hadoop workers).

To counter that, I added the possibility to use TransportClient and define the desire entry-point nodes, thus limiting the number of connections each hadoop workers has. Using this type of client introduce 'double-hop' request for indexing. So far, I didn't saw much decrease in performance, but there is certainly one, which is counterbalanced by the ability to use all the nodes on the cluster.

Feel free to accept the pull request, but I am using it in production for 1-2 weeks without any issues.

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

Successfully merging this pull request may close these issues.

None yet

4 participants