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
tribe node: failed to send join request to master #15373
Comments
Looking at the following line in the log of cluster A
it seems that As of ES 2.0, Elasticsearch will only bind to localhost per default (see https://www.elastic.co/blog/elasticsearch-unplugged). The solution is to define |
|
Whoops - that is incorrect. 0.0.0.0 should bind to available interfaces I think. Hopefully this will be fixed by #15300 Could you let us know if it does once 2.1.1 is out? |
Change to:
Working, but unintuitive, and it's a major change from 1.x that isn't well-publicized. |
WRT ES v2.1.1, I have to do the following to get the tribe node talking to two different clusters: cluster A and cluster B # tribe node's configuration (elasticsearch.yml) tribe.t1.cluster.name: repeat the same block but replace "t1" to "t2" for cluster B and fill in proper info related to cluster B but keep the tribe.t2.network.* the same with different tribe.t2.transport.tcp.port value from t1 if specified |
The networking docs have been greatly improved. i don't think there is any more to do here, so I'll close |
@tri Nguyen
|
regarding t1..unicast.hosts, if you only provide cluster A's master node's host name or IP address, it will try to connect using the default port number. I would specify both here to make sure you have the correct settings. regarding .path. parameters, I did not have to do it when I was using v1.7.3 but had to explicitly set it in v2.1.1 (even though I was told that I don't need to set them) I have not tested v2.3.x so I can't tell much here but I expect they fix that bug since it was reported as a bug at some point (if I remembered correctly) regarding *.t1.transport.tcp.port, you can ignore this one |
@tri Nguyen: |
yes it is... if you install ES using .rpm file, by default, it's in /etc/elasticsearch Here is the link for ES 2.1 that you should be using Anyway, this ticket has been closed, I suggest you use the "discussion" https://discuss.elastic.co/t/tribe-node-connect-to-specific-ips/45721/10 |
I'm running 2 clusters and cannot get a tribe node to connect to them. Im running ES 2.1 on every ES nodes, including the tribe node.
ClusterA has only one node and clusterB has only one node
Configuration for tribe node (for simplicity sake I only trying here to connect to clusterA):
When starting both tribe and cluster this is shown in the ES tribe log:
And on clusterA:s log it adds the tribe node and removes it repeatedly:
What am I doing wrong here? I've tried several different configuration changes but cannot get it to work. Also I have had no problem with the exact same setup wiith ES 1.4.4
The text was updated successfully, but these errors were encountered: