Skip to content

RANGER-5679: Document OpenSearch audit setup in docker README and per…#1057

Draft
paras200 wants to merge 1 commit into
apache:masterfrom
paras200:RANGER-5679
Draft

RANGER-5679: Document OpenSearch audit setup in docker README and per…#1057
paras200 wants to merge 1 commit into
apache:masterfrom
paras200:RANGER-5679

Conversation

@paras200

@paras200 paras200 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

…-DB install.properties

  • Add labeled 3-option audit store block (Solr / legacy Elasticsearch / native OpenSearch) to mysql, oracle and sqlserver install.properties, matching the existing postgres file; Solr stays the active default for these three
  • Add OpenSearch audit dispatcher one-liner to the 'audit server services individually' list in the docker README
  • Fix RANGER_DB_TYPE valid-values comment to include sqlserver

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix. Create an issue in ASF JIRA before opening a pull request and
set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. RANGER-XXXX: Fix a typo in YYY))

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

@paras200 paras200 force-pushed the RANGER-5679 branch 4 times, most recently from 3128bf5 to aeae793 Compare July 10, 2026 10:21

@mneethiraj mneethiraj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paras200 - docker-compose.ranger.yml starts ranger-solr implicitly. With Opensearch as the audit destination, bringing up Solr is unnecessary. I suggest removing references to ranger-solr from docker-compose.ranger.yml and have Solr started explicitly similar to from docker-compose.ranger-opensearch.yml

Comment thread dev-support/ranger-docker/README.md Outdated
# export ENABLE_FILE_SYNC_SOURCE=true

# valid values for RANGER_DB_TYPE: mysql/postgres/oracle
# valid values for RANGER_DB_TYPE: mysql/postgres/oracle/sqlserver

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sqlserver is no more supported. Please revert the change in line 82.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mneethiraj , Done

Also, The pull request is currently in Draft mode, I still need to test everything locally again to mark it as ready for review.

…-DB install.properties

- Append a commented native OpenSearch audit block (audit_store=opensearch + audit_opensearch_*) to mysql, oracle and sqlserver install.properties so the README's 'enable the OpenSearch block' step is actionable; Solr and Elasticsearch lines are left unchanged
- Note that the default RANGER_DB_TYPE=postgres ships audit_store=opensearch preconfigured, so the OpenSearch setup commands auto-run with no install.properties edits; manual enablement is only needed for mysql/oracle/sqlserver
- Add OpenSearch audit dispatcher one-liner to the 'audit server services individually' list in the docker README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants