RANGER-5494: docker setup fix to address startup errors in ranger-hive, ranger-tagsync, ranger-solr containers#855
Merged
mneethiraj merged 1 commit intoapache:ranger-2.8from Feb 20, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request addresses startup errors in three Ranger Docker containers (ranger-hive, ranger-tagsync, and ranger-solr) by adding missing configuration files, fixing file mount paths, and resolving dependency issues.
Changes:
- Added log4j2 configuration files for Hive metastore and HiveServer2
- Fixed ranger-tagsync to mount tags.json to the correct runtime location
- Fixed ranger-solr script to properly set RANGER_SCRIPTS and SOLR_AUTH_TYPE environment variables
- Added commons-collections library to resolve HiveServer2 ClassDefNotFoundError
- Updated README to run build in foreground for better visibility
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| dev-support/ranger-docker/scripts/solr/ranger-solr.sh | Added RANGER_SCRIPTS environment variable and SOLR_AUTH_TYPE export for Kerberos authentication |
| dev-support/ranger-docker/scripts/hive/ranger-hive-setup.sh | Added copy of commons-collections jar to fix HiveServer2 startup error |
| dev-support/ranger-docker/scripts/hive/hive-metastore-log4j2.properties | New log4j2 configuration for Hive metastore service |
| dev-support/ranger-docker/scripts/hive/hive-log4j2.properties | New log4j2 configuration for HiveServer2 service |
| dev-support/ranger-docker/docker-compose.ranger-tagsync.yml | Updated tags.json mount path from scripts directory to runtime data directory |
| dev-support/ranger-docker/Dockerfile.ranger-tagsync | Removed static copy of tags.json since it's now mounted at runtime |
| dev-support/ranger-docker/README.md | Changed build command from detached to foreground mode for better visibility |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kumaab
approved these changes
Feb 20, 2026
mneethiraj
added a commit
that referenced
this pull request
Feb 20, 2026
…anger-solr containers (#855) (cherry picked from commit 9d4cf45)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
How was this patch tested?