ranger icon indicating copy to clipboard operation
ranger copied to clipboard

RANGER-3801: Add support for Ozone in docker

Open kumaab opened this issue 1 year ago • 0 comments

What changes were proposed in this pull request?

  • Adds support for ozone services in ranger docker environment with ranger-plugin enabled for OzoneManager (OM) container.
  • A minimal setup for Ozone requires 1 OM, 1 SCM and 1 DataNode (see docker-compose.ranger-ozone.yml)
  • Updates the README for docker based setup to include Ozone.
  • Re-factor of download-archives.sh to allow specific downloads.
  • Creation of ozone service during ranger-admin startup.

How was this patch tested?

  • Verified setup_ozone
  • Verified containers come up with docker-compose -f docker-compose.ranger.yml -f docker-compose.ranger-postgres.yml -f docker-compose.ranger-ozone.yml up -d
  • Verified Ozone plugin installation in om container
  • Verified restart of om container, plugin installation is skipped!
  • Audits are flowing to Solr
  • Verified allow policy on a volume works for trino user.
  • Verified allow policy works for om user.
  • Verified deny works for root user.
Screenshot 2024-08-25 at 4 24 27 PM

kumaab avatar Aug 25 '24 23:08 kumaab