I am experimenting shadow replica on my ES 1.7.5 cluster with 3 data nodes.
Following is what I did:
- Add following settings to elasticsearch.yml
Node: Z is mounted drive of the shared files system
Create an index with shadow replica with following setting:
Insert docs to index
The shadow replica index worked fine for both index and search, until I added a new data node into cluster which triggered shards re-balancing.
I got following exception:
[2016-04-21 01:59:56,555][WARN ][indices.cluster ] [data-vm-3] [[testindex_shadowreplica]] marking and sending shard failed due to [failed to create shard]
org.elasticsearch.index.shard.IndexShardCreationException: [testindex_shadowreplica] failed to create shard
Caused by: java.nio.file.FileSystemException: Z:\esindex\testindex_shadowreplica\0\index: Unable to determine if root directory exists
What is wrong here?