sarvekshayr opened a new pull request, #7648: URL: https://github.com/apache/ozone/pull/7648
## What changes were proposed in this pull request? The check added in [HDDS-11727](https://issues.apache.org/jira/browse/HDDS-11727) only shows if the service is running. Show the PID of the process found to be running as well. ## What is the link to the Apache JIRA [HDDS-12011](https://issues.apache.org/jira/browse/HDDS-12011) ## How was this patch tested? Tested the patch on a docker cluster. ``` bash-5.1$ ozone repair om fso-tree --db /data/metadata/om.db ATTENTION: Running as user hadoop. Make sure this is the same user used to run the Ozone process. Are you sure you want to continue (y/N)? y Run as user: hadoop Error: OM is currently running on this host with PID 7. Stop the service before running the repair tool. ``` ``` bash-5.1$ ozone repair om fso-tree --db /data/metadata/om.db --force ATTENTION: Running as user hadoop. Make sure this is the same user used to run the Ozone process. Are you sure you want to continue (y/N)? y Run as user: hadoop Warning: --force flag used. Proceeding despite OM being detected as running with PID 7. FSO Repair Tool is running in debug mode ``` -- 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]
