You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the data/node_1/elasticsearch-cluster-runner/nodes/0/indices/test_index folder has all the shards folders, but data/node_2/elasticsearch-cluster-runner/nodes/0/ and data/node_2/elasticsearch-cluster-runner/nodes/0/ folders has no indices subfolder at all.
So, it is better to add these settings automatically if more than one shard is added to the cluster. I wonder why standalone Elasticsearch does not require these settings? Because it assigns ports automatically?
Our plugin sets transport.tcp.port to specific port(9301-9303) for 3 nodes,
but standalone elasticsearch uses 9300-9400(range).
I think it's difficult to change the default value of our plugin
because the plugin manages an available port for transport.
I used the default settings, so 3 nodes are created. After this command:
I see that the
data/node_1/elasticsearch-cluster-runner/nodes/0/indices/test_index
folder has all the shards folders, butdata/node_2/elasticsearch-cluster-runner/nodes/0/
anddata/node_2/elasticsearch-cluster-runner/nodes/0/
folders has noindices
subfolder at all.If I add these settings:
I get this exception:
If I download Elasticsearch 2.3.3, run 3 nodes and add an index, all 3 shards are allocated evenly at 3 nodes.
I also tried to download elasticsearch-cluster-runner, update dependency to 2.3.3 and run the test with the updated version. The same bug.
The text was updated successfully, but these errors were encountered: