i am trying to implement elasticsearch cluster. i have 2 machines with 2
nodes each. i have following configuration in yml file. i have given unique
node name on each node, all of them are master and data nodes.
the four nodes are working correctly in the cluster. I would like to bring
one of the nodes down, and have other 3 run in the cluster. When I try to
bring one of first three, cluster goes down, I get this error
If i bring down the last started node, the cluster works fine. I thought if
I have 4 masters and one of the master goes down, other three masters
should run in the cluster. is it not correct?
On Tue, Apr 15, 2014 at 9:34 PM, Narasimha Alzapur avnrao@gmail.com wrote:
hello,
i am trying to implement elasticsearch cluster. i have 2 machines with 2
nodes each. i have following configuration in yml file. i have given unique
node name on each node, all of them are master and data nodes.
the four nodes are working correctly in the cluster. I would like to bring
one of the nodes down, and have other 3 run in the cluster. When I try to
bring one of first three, cluster goes down, I get this error
If i bring down the last started node, the cluster works fine. I thought
if I have 4 masters and one of the master goes down, other three masters
should run in the cluster. is it not correct?
Thank you. That worked. Now when i bring down any master, cluster keeps
going with other 3 master nodes.
I took down a master node that is bound to localhost:9200 on one machine1.
I can still query using localhost:9201. Does it mean, do we need to change
the URL on client from 9200 to 9201 if a node goes down. Is there anyway to
avoid changing url on client?
appreciate your help. thank you.
On Wednesday, April 16, 2014 11:05:37 AM UTC-5, Ivan Brusic wrote:
I believe if you have two or more nodes on a single machine, you need to
specify each in the unicast host property:
On Tue, Apr 15, 2014 at 9:34 PM, Narasimha Alzapur <avn...@gmail.com<javascript:>
wrote:
hello,
i am trying to implement elasticsearch cluster. i have 2 machines with 2
nodes each. i have following configuration in yml file. i have given unique
node name on each node, all of them are master and data nodes.
the four nodes are working correctly in the cluster. I would like to
bring one of the nodes down, and have other 3 run in the cluster. When I
try to bring one of first three, cluster goes down, I get this error
If i bring down the last started node, the cluster works fine. I thought
if I have 4 masters and one of the master goes down, other three masters
should run in the cluster. is it not correct?
It depends on which client you use. If you use the Java TransportClient
with "sniff" enabled, it detect all nodes upon client startup and use that
list for its request. All other clients (REST) round robin between whatever
servers were set in the properties.
--
Ivan
On Wed, Apr 16, 2014 at 10:05 AM, Narasimha Alzapur avnrao@gmail.comwrote:
Thank you. That worked. Now when i bring down any master, cluster keeps
going with other 3 master nodes.
I took down a master node that is bound to localhost:9200 on one machine1.
I can still query using localhost:9201. Does it mean, do we need to change
the URL on client from 9200 to 9201 if a node goes down. Is there anyway to
avoid changing url on client?
appreciate your help. thank you.
On Wednesday, April 16, 2014 11:05:37 AM UTC-5, Ivan Brusic wrote:
I believe if you have two or more nodes on a single machine, you need to
specify each in the unicast host property:
On Tue, Apr 15, 2014 at 9:34 PM, Narasimha Alzapur avn...@gmail.comwrote:
hello,
i am trying to implement elasticsearch cluster. i have 2 machines with 2
nodes each. i have following configuration in yml file. i have given unique
node name on each node, all of them are master and data nodes.
the four nodes are working correctly in the cluster. I would like to
bring one of the nodes down, and have other 3 run in the cluster. When I
try to bring one of first three, cluster goes down, I get this error
If i bring down the last started node, the cluster works fine. I thought
if I have 4 masters and one of the master goes down, other three masters
should run in the cluster. is it not correct?
thank you.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
Thank you Ivan. I am using NEST c# client, it has sniff functionality, I
will use that.
On Wednesday, April 16, 2014 12:14:12 PM UTC-5, Ivan Brusic wrote:
It depends on which client you use. If you use the Java TransportClient
with "sniff" enabled, it detect all nodes upon client startup and use that
list for its request. All other clients (REST) round robin between whatever
servers were set in the properties.
--
Ivan
On Wed, Apr 16, 2014 at 10:05 AM, Narasimha Alzapur <avn...@gmail.com<javascript:>
wrote:
Thank you. That worked. Now when i bring down any master, cluster keeps
going with other 3 master nodes.
I took down a master node that is bound to localhost:9200 on one
machine1. I can still query using localhost:9201. Does it mean, do we need
to change the URL on client from 9200 to 9201 if a node goes down. Is there
anyway to avoid changing url on client?
appreciate your help. thank you.
On Wednesday, April 16, 2014 11:05:37 AM UTC-5, Ivan Brusic wrote:
I believe if you have two or more nodes on a single machine, you need to
specify each in the unicast host property:
On Tue, Apr 15, 2014 at 9:34 PM, Narasimha Alzapur avn...@gmail.comwrote:
hello,
i am trying to implement elasticsearch cluster. i have 2 machines with
2 nodes each. i have following configuration in yml file. i have given
unique node name on each node, all of them are master and data nodes.
the four nodes are working correctly in the cluster. I would like to
bring one of the nodes down, and have other 3 run in the cluster. When I
try to bring one of first three, cluster goes down, I get this error
If i bring down the last started node, the cluster works fine. I
thought if I have 4 masters and one of the master goes down, other three
masters should run in the cluster. is it not correct?
thank you.
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@googlegroups.com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.