sreejasahithi opened a new pull request, #7829: URL: https://github.com/apache/ozone/pull/7829
## What changes were proposed in this pull request? The ozone sh key put command was updated to handle cases where the specified file does not exist. Previously, the command failed silently without providing proper feedback. A check was added in PutKeyHandler.java to verify if the file exists, and an appropriate error message is now displayed when the file does not exist. Additionally, a test was added to the ozone-shell-lib.robot under "Test ozone shell errors" to ensure the error handling works correctly. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12230 ## How was this patch tested? This patch was tested locally on docker. Bellow is the workflow link which passed successfully. https://github.com/sreejasahithi/ozone/actions/runs/13184833819 Before: <img width="921" alt="Before" src="https://github.com/user-attachments/assets/f58bfe3c-4ef9-415b-af0d-06669fe93aa1" /> After: <img width="885" alt="After" src="https://github.com/user-attachments/assets/0ab9738d-26b9-4a7d-bf68-ccb54f84192c" /> -- 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]
