IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR: Solr Partition Optimization Has Been Disabled

EDR: Solr Partition Optimization Has Been Disabled

Environment

  • EDR Servers: 7.x

Symptoms

Solr core did not optimize and the job-runner log states "Skipping optimization of partition because optimization on cbevents_YYYY_MM_DD_HHMM has been disabled"

Cause

The /var/cb/data/solr/cbevents/cbevents_YYYY_MM_DD_HHMM/cb.core.conf variable 'optimization_disabled' was set to True.

Resolution

Modify the cb.core.conf variable to False.
optimization_disabled = False


 

Additional Notes

  • To view the optimization for all cores, run command below on each EDR server.
curl "http://127.0.0.1:8080/solr/admin/cores?action=STATUS&wt=json&indexInfo=true&indent=true" 2>&1 | grep 'name\|size\|segmentCount'
  • If EDR set the variable to True, there is an underlying problem with disk space, missing mounted disks, etc.  Check '/var/log/messages', 'df -h'. /etc/fstab
  • Large clusters may leave the Primary server eventless and without Solr cores.

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎07-01-2022
Views:
223
Contributors