unknowntpo opened a new pull request, #7085:
URL: https://github.com/apache/gravitino/pull/7085

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   Use jars from `ranger-distro-2.4.0` to build `hive`, `ranger` docker image.
   
   ### Why are the changes needed?
   
   Because in my previous PR #6848, I change 
   
   Fix: #7084
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   #### Local test:
   
   ```
   # build ranger image
   ./dev/docker/build-docker.sh --platform all --type ranger --image 
unknowntpo/gravitino-ranger-ci-test --tag ranger-distro --latest
   
   # build hive image
   ./dev/docker/build-docker.sh --platform all --type hive --image 
unknowntpo/gravitino-ranger-ci-test --tag ranger-distro --latest
   
   # set up default image of hive
   
GRAVITINO_CI_HIVE_DOCKER_IMAGE=unknowntpo/gravitino-hive-ci-test:ranger-distro
   
   # set up default image of ranger
   
GRAVITINO_CI_RANGER_DOCKER_IMAGE=unknowntpo/gravitino-ranger-ci-test:ranger-distro
   
   # test hive
   ./gradlew :catalogs:catalog-hive:test --tests 
"org.apache.gravitino.catalog.hive.integration.test.ProxyCatalogHiveIT" 
-PskipDockerTests=false
   
   # test ranger
   ./gradlew :authorizations:authorization-ranger:test --tests 
"org.apache.gravitino.authorization.ranger.integration.test.RangerHiveIT" 
-PskipDockerTests=false
   ```
   
   #### Github Action Test:
   


-- 
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]

Reply via email to