Adjust the Solr replication factor for index files stored in HDFS
You can adjust the degree to which different data is replicated.
Go to Solr service > Configuration > Category > Advanced.
Click the plus sign next to Solr Service Advanced Configuration
Snippet (Safety Valve) for hdfs-site.xml to add a new property
with the following values:
Name:dfs.replication
Value:2
Click Save Changes.
Restart the Solr service (Solr service > Actions > Restart).