venkatsambath opened a new pull request, #8169: URL: https://github.com/apache/ozone/pull/8169
## What changes were proposed in this pull request? when closing a pipeline, if the user is not super-user, the command just runs without an exception. it writes the exception to audit but not to the client console. Please describe your PR in detail: Added a line to throw the exception in closePipeline method ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12703 ## How was this patch tested? I tested by running in my local intellij ozone setup. ``` svenkataramanasam@22187 ozone_cdp % sudo -u hive sh ozoneadmin.sh pipeline close 42a68542-30e9-4eda-9ba3-7b587182fd52 Access denied for user hive. SCM superuser privilege is required. ``` -- 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]
