Setting Java system properties for Solr

Several tuning steps require adding or modifying Java system properties. This is how you do it in Cloudera Manager.

  1. In Cloudera Manager, select the Solr service.
  2. Click the Configuration tab.
  3. In the Search box, type Java Configuration Options for Solr Server.
  4. Add the property to Java Configuration Options for Solr Server using the format -D<property_name>=<value>.

    Garbage collection options, such as -XX:+PrintGCTimeStamps, can also be set here. Use spaces to separate multiple parameters.

  5. Click Save Changes.
  6. Restart the Solr service (Solr service > Actions > Restart).