You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/06/06 03:14:30 UTC
[GitHub] [incubator-doris] wuyunfeng commented on a change in pull request #5955: [BUG] split es publish_address if it has host
wuyunfeng commented on a change in pull request #5955:
URL: https://github.com/apache/incubator-doris/pull/5955#discussion_r646065686
##########
File path: fe/fe-core/src/main/java/org/apache/doris/external/elasticsearch/EsNodeInfo.java
##########
@@ -70,6 +70,9 @@ public EsNodeInfo(String id, Map<String, Object> map, boolean httpSslEnabled) {
if (httpMap != null) {
String address = (String) httpMap.get("publish_address");
if (address != null) {
+ if (address.contains("/")) {
Review comment:
maybe we can split this address by `/` directly,
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org