GlenGeng opened a new pull request #1907:
URL: https://github.com/apache/ozone/pull/1907
## What changes were proposed in this pull request?
For now, `SCMContainerLocationFailoverProxyProvider` first use
`ozone.scm.names` to create rpcProxy, if `ozone.scm.names` is not set, it falls
back to use `ozone.scm.client.address`. However, it breaks the master's
behavior, which directly use `ozone.scm.client.address` to build the rpcProxy.
In `ozone admin --verbose pipeline list --scm unknown-host`, `unknown-host`
will be set to `ozone.scm.client.address`, the created rpcProxy will trigger
"java.net.UnknownHostException: Invalid host name: "
This Jira https://issues.apache.org/jira/browse/HDDS-4556 and PR
https://github.com/apache/ozone/pull/1671 adds a smoketest for `ozonescripts`
environment, helps to find this bug.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4806
## How was this patch tested?
CI
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]