Tuning Cloudera SearchPDF version

Adjust the Solr replication factor for index files stored in HDFS

You can adjust the degree to which different data is replicated.

  1. Go to Solr service > Configuration > Category > Advanced.
  2. 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

  3. Click Save Changes.
  4. Restart the Solr service (Solr service > Actions > Restart).