adoroszlai opened a new pull request, #8012: URL: https://github.com/apache/ozone/pull/8012
## What changes were proposed in this pull request? Fix intermittent acceptance test failure: ``` ============================================================================== Om :: Test om compatibility ============================================================================== Picks up command line options | FAIL | 'USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND hadoop 1 0.0 0.0 224 0 ? Ss 14:21 0:00 /usr/local/bin/dumb-init -- entrypoint.sh ozone om hadoop 7 0.0 0.0 5288 4096 ? Ss 14:21 0:00 bash /opt/hadoop/bin/ozone om ... hadoop 145 0.0 0.0 5288 2680 ? S 14:21 0:00 bash /opt/hadoop/bin/ozone om hadoop 146 0.0 0.2 5966620 34944 ? Sl 14:21 0:00 /usr/local/jdk-21.0.2/bin/java -version hadoop 147 0.0 0.0 4932 2432 ? S 14:21 0:00 /usr/bin/coreutils --coreutils-prog-shebang=head /usr/bin/head -n 1 hadoop 157 0.0 0.0 4532 3200 ? S 14:21 0:00 /bin/sh -c ps aux 2>&1 hadoop 161 0.0 0.0 7492 3200 ? R 14:21 0:00 ps aux' does not contain '-Dhdfs.om.opts=test' ``` Normally PID 7 should be something like (after `exec`): ``` hadoop 7 5.1 0.9 19000520 599080 ? Ssl 17:05 0:13 /usr/local/jdk-21.0.2/bin/java -Dproc_om -Dhadoop.opts=test -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -Dorg.apache.ratis.thirdparty.io.netty.allocator.useCacheForAllThreads=false -Dorg.apache.ratis.thirdparty.io.netty.tryReflectionSetAccessible=true -Dhdfs.om.opts=test -Dlog4j.configurationFile=/etc/hadoop/om-audit-log4j2.properties --add-opens java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED --add-exports java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED -XX:ParallelGCThreads=8 -Dhadoop.log.dir=/var/log/hadoop -Dhadoop.log.file=ozone.log -Dhadoop.home.dir=/opt/hadoop -Dhadoop.id.str=hadoop -Dhadoop.root.logger=INFO,console -Dhadoop.policy.file=hadoop-policy.xml -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.ozone. om.OzoneManagerStarter ``` With the patch, test case is skipped if the process with `-Dproc_om` is not found. https://issues.apache.org/jira/browse/HDDS-12358 ## How was this patch tested? CI: https://github.com/adoroszlai/ozone/actions/runs/13673907972 -- 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]
