You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2026/06/25 15:00:57 UTC

[PR] HDDS-15675. Ranger test overrides custom OZONE_RUNNER_IMAGE [ozone]

adoroszlai opened a new pull request, #10608:
URL: https://github.com/apache/ozone/pull/10608

   ## What changes were proposed in this pull request?
   
   `.env` files define default values for variables in Docker Compose.  `test-ranger.sh` evaluates `.env` as a whole to get `RANGER_VERSION`, which it needs for downloading Ranger.  This overrides any custom value for other variables that appear in `.env` and are already defined (e.g. `OZONE_RUNNER_IMAGE`).
   
   https://issues.apache.org/jira/browse/HDDS-15675
   
   ## How was this patch tested?
   
   Added `set -x` and early exit, then ran `test-ranger.sh` without/with `RANGER_VERSION` being defined:
   
   ```bash
   $ hadoop-ozone/dist/target/ozone-2.3.0-SNAPSHOT/compose/ozonesecure-ha/test-ranger.sh   
   + [[ -z '' ]]
   + export RANGER_VERSION=2.8.0
   + RANGER_VERSION=2.8.0
   + exit
   
   $ RANGER_VERSION=2.9.0 hadoop-ozone/dist/target/ozone-2.3.0-SNAPSHOT/compose/ozonesecure-ha/test-ranger.sh   
   + [[ -z 2.9.0 ]]
   + exit
   ```
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/28175310084/job/83452870581


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-15675. Ranger test overrides custom OZONE_RUNNER_IMAGE [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #10608:
URL: https://github.com/apache/ozone/pull/10608


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-15675. Ranger test overrides custom OZONE_RUNNER_IMAGE [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #10608:
URL: https://github.com/apache/ozone/pull/10608#issuecomment-4809270025

   Thanks @dombizita for the review.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org