The client has addTransportAddress(). So, I can add all cluster nodes. Is
it intended way? Or - what are those considerations must be taken into
account while adding hosts?
You should as many nodes as possible. If you enable client.transport.sniff,
then the transport client will ask the nodes it does connect to about the
other nodes in the cluster, which means you can potentially only need to
specific a single node (not ideal in case that node is down).
The client has addTransportAddress(). So, I can add all cluster nodes. Is
it intended way? Or - what are those considerations must be taken into
account while adding hosts?
On Wednesday, July 30, 2014 8:13:28 PM UTC+4, Ivan Brusic wrote:
You should as many nodes as possible. If you
enable client.transport.sniff, then the transport client will ask the nodes
it does connect to about the other nodes in the cluster, which means you
can potentially only need to specific a single node (not ideal in case that
node is down).
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.