Hi,

As ConfigNode only serve DataNodes and other ConfigNode.

The rpc_address in ConfigNode should be internal_address.
The rpc_port in ConfigNode should be internal_port.

After this, the show cluster function needs to be refactored.

Previously, show cluster print the rpc_address of DataNode and ConfigNode,
however, rpc_address for DataNode is the client_rpc_service.

So it's better to print the internal_address of DataNode and ConfigNode.

What do you think?

Thanks,
—————————————————
Jialin Qiao
Apache IoTDB PMC

Reply via email to