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 2023/06/17 06:05:21 UTC

[GitHub] [ozone] adoroszlai commented on a diff in pull request #4862: HDDS-8795. Run all Hadoop (MR) acceptance tests with the same single Ozone cluster

adoroszlai commented on code in PR #4862:
URL: https://github.com/apache/ozone/pull/4862#discussion_r1232972089


##########
hadoop-ozone/dist/src/main/compose/common/hadoop-test.sh:
##########
@@ -36,9 +33,21 @@ export OZONE_DIR=/opt/ozone
 # shellcheck source=/dev/null
 source "$COMPOSE_DIR/../testlib.sh"
 
-for scheme in o3fs ofs; do
-  execute_robot_test rm -v "SCHEME:${scheme}" -N "hadoop-${HADOOP_VERSION}-hadoopfs-${scheme}" ozonefs/hadoopo3fs.robot
-  execute_robot_test rm -v "SCHEME:${scheme}" -N "hadoop-${HADOOP_VERSION}-mapreduce-${scheme}" mapreduce.robot
+for HADOOP_VERSION in 2.7.3 3.1.2 3.2.2 3.3.1; do
+  export HADOOP_VERSION
+  export HADOOP_MAJOR_VERSION=${HADOOP_VERSION%%.*}
+
+  docker-compose --ansi never --profile hadoop up -d nm rm

Review Comment:
   The definition in `hadoop.yaml` assigns these services to the `hadoop` profile.  Simple `docker-compose up` does not start such services, this way only Ozone is started by `start_docker_env`.  We need `--profile hadoop` to start them at this time.



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