freemandealer opened a new issue, #17140: URL: https://github.com/apache/doris/issues/17140
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Description It would be helpful to support multiple FE processes on the same node, for testing distributed FE logic purposes. Even after creating a new fe directory and changing to non-conflict ports, the current logic will still block co-located FEs, e.g.: ``` private boolean getFeNodeTypeAndNameFromHelpers() { .... for (Pair<String, Integer> helperNode : helperNodes) { try { URL url = new URL("http://" + helperNode.first + ":" + Config.http_port + "/role?host=" + selfNode.first + "&port=" + selfNode.second); HttpURLConnection conn = null; conn = (HttpURLConnection) url.openConnection(); .... ``` Here we access master URL through Config.http_port, which is the follower's own HTTP port, so the operation is meant to fail. Note: the aforementioned problem might not bethe only one, just an example. ### Solution _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
