You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by CloudWise-Luke <28...@qq.com.INVALID> on 2021/08/26 04:38:09 UTC

回复:discuss why we have to replace hostname to ip in the cluster module

hostname +1



CloudWiseluke.miao


&nbsp;




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <sainthxd@gmail.com&gt;;
发送时间:&nbsp;2021年8月25日(星期三) 晚上11:14
收件人:&nbsp;"dev"<dev@iotdb.apache.org&gt;;

主题:&nbsp;discuss why we have to replace hostname to ip in the cluster module



Hi,

Today Julian and I discussed some logic of the cluster module.
Both of us feel it strange that we replace the hostname to IP before a
cluster node starts up.
I think it is not a very common way.

hostname sometimes is very very helpful. For example, in K8S
environment, a node's hostname never changes, but its IP may change.

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

&nbsp;黄向东
清华大学 软件学院