ashishkumar50 opened a new pull request, #5469: URL: https://github.com/apache/ozone/pull/5469
## What changes were proposed in this pull request? When decommission command is executed and if port or hostname is wrong and doesn't present in SCM, in that case command retries for 300 times which is unnecessary. In this PR we are fixing below: If hoststring or port is wrong, instead of throwing exception we are returning DataNodeAdmin error which will avoid retry and will be normal exit. If there are multiple hosts passed in the command, hosts which are invalid we add into error list and continue decommissioning for the proper host. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9511 ## How was this patch tested? Update existing tests and verify -- 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]
