kumaab opened a new pull request, #301:
URL: https://github.com/apache/ranger/pull/301
## What changes were proposed in this pull request?
The ranger profile `ranger-jdk11` has been added to build trino with jdk 11
as currently trino plugin is the only plugin to have a compile time dependency
on jdk 11. However, it currently builds the full ranger repo. The PR aims to
fix this. When modules have a jdk 11 requirement they can be added to this
profile.
## How was this patch tested?
- Bring up the containers
- Build with JDK 11: `mvn clean package -DskipTests -P ranger-jdk11`
- `cp target/ranger-admin.tar.gz dev-support/ranger-docker/dist`
- `cp target/ranger-trino-plugin.tar.gz dev-support/ranger-docker/dist/`
- `cd dev-support/ranger-docker`
- `docker-compose -f docker-compose.ranger.yml -f
docker-compose.ranger-postgres.yml -f docker-compose.ranger-trino.yml build`
- `docker-compose -f docker-compose.ranger.yml -f
docker-compose.ranger-postgres.yml up -d`
- `docker-compose -f docker-compose.ranger.yml -f
docker-compose.ranger-postgres.yml -f docker-compose.ranger-trino.yml up -d`
- Verified ranger and ranger-trino are successfully up in containers.
- Verified ranger policy creation, policies created for trino are working.
- Verified audits to Solr are visible in ranger UI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]