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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]