Skip to content

Conversation

@mneethiraj
Copy link
Contributor

What changes were proposed in this pull request?

Docker setup updated to use Kerberos authentication.

How was this patch tested?

  • verified containers start up successfully
  • plugins download policy details from Ranger admin server with kerberos authentication
  • plugins successfully sent audit logs to kerberized Solr
  • Ranger admin server successfully reads audit logs from kerberized Solr
  • Ranger tagsync and usersync successfully talk to Ranger admin server

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 PR updates the Ranger docker setup to support Kerberos authentication across all services. The changes enable secure communication between Ranger components and external services (HDFS, Hive, HBase, Kafka, Knox, KMS, Solr) using Kerberos principals and keytabs.

Key Changes:

  • Added KDC (Kerberos Key Distribution Center) container with configuration files and entrypoint script
  • Configured all Ranger services and plugins with Kerberos authentication parameters (principals, keytabs, JAAS settings)
  • Updated hostnames from *.example.com to *.rangernw across all configuration files

Reviewed Changes

Copilot reviewed 78 out of 78 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Dockerfile.ranger-kdc New KDC container definition with Kerberos server setup
config/kdc/* Kerberos configuration files (krb5.conf, kdc.conf, kadm5.acl, entrypoint.sh)
scripts/create_principal_and_keytab.sh Utility script to create Kerberos principals and keytabs
scripts/ranger-*.sh Updated setup scripts to create keytabs when Kerberos is enabled
scripts/-install.properties Added Kerberos configuration properties for all Ranger plugins
scripts/*-site.xml New/updated Hadoop configuration files with Kerberos settings
docker-compose.*.yml Added KDC service dependency and Kerberos environment variables
.env Enabled Kerberos and updated base image versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant