Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-11165. Install ps in ozone-runner image #25

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

adoroszlai
Copy link
Contributor

@adoroszlai adoroszlai commented Jul 12, 2024

What changes were proposed in this pull request?

ps is required for compatibility tests:

https://github.com/apache/ozone/blob/c05227a0dc1ba833383ece7379d8a1e977c5bb45/hadoop-ozone/dist/src/main/smoketest/lib/os.robot#L66C1-L67C1

but it's missing from the new Rocky Linux-based image 20240712-jdk17-1:

/bin/sh: ps: command not found

https://issues.apache.org/jira/browse/HDDS-11165

How was this patch tested?

$ docker build -t ozone-runner:dev .
...

$ docker run -it --rm ozone-runner:dev ps
To use Ozone please mount ozone folder to /opt/hadoop
    PID TTY          TIME CMD
      7 pts/0    00:00:00 ps

@adoroszlai adoroszlai self-assigned this Jul 12, 2024
@adoroszlai adoroszlai requested review from smengcl and jojochuang July 12, 2024 12:17
@adoroszlai adoroszlai merged commit 2dc4390 into apache:master Jul 13, 2024
1 check passed
@adoroszlai adoroszlai deleted the HDDS-11165 branch July 13, 2024 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant