Skip to content

Comments

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
mneethiraj:RANGER-5494
Feb 20, 2026
Merged

RANGER-5494: docker setup fix to address startup errors in ranger-hive, ranger-tagsync, ranger-solr containers#855
mneethiraj merged 1 commit intoapache:ranger-2.8from
mneethiraj:RANGER-5494

Conversation

@mneethiraj
Copy link
Contributor

What changes were proposed in this pull request?

  • added log4j configuration files for ranger-hive container
  • updated ranger-tagsync container setup to mount /opt/ranger/tagsync/data/tags.json
  • fixed startup error logs in ranger-solr container

How was this patch tested?

  • verified that the containers startup successfully without reported errors

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

@mneethiraj mneethiraj merged commit 9d4cf45 into apache:ranger-2.8 Feb 20, 2026
5 checks passed
mneethiraj added a commit that referenced this pull request Feb 20, 2026
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