Rakesh Gupta created RANGER-5400:
------------------------------------
Summary: [Docs] Implement Automate Solr Schema Upgrades (Add,
Replace, Delete) for Ranger audit collections.
Key: RANGER-5400
URL: https://issues.apache.org/jira/browse/RANGER-5400
Project: Ranger
Issue Type: Improvement
Components: Ranger
Reporter: Rakesh Gupta
Assignee: Rakesh Gupta
This feature introduces the SolrSchemaUpgrade utility to automate the
synchronization and validation of the Solr schema for the ranger_audits
collection.
The utility eliminates manual schema maintenance by reading required operations
and field definitions from the ranger_solr_schema_upgrade.json configuration
file and applying them dynamically using the SolrJ Schema API.
Key Benefits & Details
Idempotent: The utility performs existence checks before all operations (add,
replace, delete), ensuring the upgrade can be run repeatedly without failure.
Zero Downtime: Changes are applied via the Solr Schema API, eliminating the
need for manual Solr restarts.
Configuration: The process is enabled by default but can be disabled via the
ranger.solr.schema.upgrade.enabled property.
Backward Compatible: The disabled state maintains prior application behavior,
ensuring no regression during upgrades.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)