ranger
ranger copied to clipboard
RANGER-3801: Add support for Ozone in docker
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
omcontainer - Verified restart of
omcontainer, plugin installation is skipped! - Audits are flowing to Solr
- Verified allow policy on a volume works for
trinouser. - Verified allow policy works for
omuser. - Verified deny works for
rootuser.