I am running Elastic in Local mode. That is to say, Elastic is running in the same JVM as my process. So the concept of Node and Client is not their.
Elastic is able to create and read the indexes it it creating on my local directory.
I wish to have multiple instances of Elastic each one in local mode but in cluster mode. I.e. Each will have its own data directory but the data will be replicated and the nodes will be in cluster.
I tried with two processes on same machine, but each one of them is running as master node and not going into the cluster.
Hello. Thanks for the reply. However, the post describes how to run multiple instances of ES on same machine. What problem I am facing is
a. Run ES in embedded mode as 2 separate processes. (Running)
b. Each having same cluster name (Running)
c. Each should connect to the given cluster name. (NOT HAPPENING)
d. There should be only 1 master. (Now, since both of them are not going into cluster, each is running as cluster)
One ES is launched from IDE and another from command prompt. Both have different data directories. But the data is neither getting replicated nor the ES is running in cluster.
We are talking only about running ES in embedded mode (local) for both the instances.
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.