Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Hadoop's containers are left running if Hadoop test fails.
repro
cd hadoop-ozone/dist/target/ozone-2.0.0-SNAPSHOT/compose
sed -i -e 's/execute_command_in_container rm hadoop version/exit 1/' common/hadoop-test.sh
cd ozone
./test-hadoop.sh
docker ps
result
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 525fd4ae5cc2 apache/hadoop:3.3.6 "/usr/local/bin/dumb…" 13 seconds ago Up 12 seconds 0.0.0.0:8088->8088/tcp, :::8088->8088/tcp ozone-rm-1 27e9903e3d3a apache/hadoop:3.3.6 "/usr/local/bin/dumb…" 13 seconds ago Up 12 seconds ozone-nm-1
Attachments
Issue Links
- links to