This is an automated email from the ASF dual-hosted git repository.

umamahesh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 634d666  HDDS-6239. ozonesecure-mr failing with No URLs in mirrorlist 
(#3029)
634d666 is described below

commit 634d666b973763b896f6503ea5491e3043cbdcd6
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Feb 1 17:01:00 2022 +0100

    HDDS-6239. ozonesecure-mr failing with No URLs in mirrorlist (#3029)
---
 hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh 
b/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh
index dca9821..85992f1 100755
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure-mr/test.sh
@@ -27,6 +27,9 @@ export SECURITY_ENABLED=true
 
 start_docker_env
 
+execute_command_in_container rm sudo bash -c "sed -i -e 's/^mirrorlist/#&/' -e 
's/^#baseurl/baseurl/' -e 's/mirror.centos.org/vault.centos.org/' 
/etc/yum.repos.d/*.repo"
+execute_command_in_container rm sudo yum install -y krb5-workstation
+
 execute_robot_test om kinit.robot
 
 execute_robot_test om createmrenv.robot
@@ -37,7 +40,6 @@ export OZONE_DIR=/opt/ozone
 # shellcheck source=/dev/null
 source "$COMPOSE_DIR/../testlib.sh"
 
-execute_command_in_container rm sudo yum install -y krb5-workstation
 execute_robot_test rm kinit-hadoop.robot
 
 for scheme in o3fs ofs; do

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to