You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/05/14 11:26:02 UTC

[GitHub] [incubator-iotdb] neuyilan opened a new pull request #1208: [IOTDB-678] LOCAL_IP and SEED_NODES should be consistent in the conf file

neuyilan opened a new pull request #1208:
URL: https://github.com/apache/incubator-iotdb/pull/1208


   If the LOCAL_IP and SEED_NODES in the configuration file have both a local ip(127.0.0.1) and a real ip, the iotdb service cannot be connected to other nodes, causing raft communication to fail, and the cluster is always in the election state.
   
   I think the LOCAL_IP and SEED_NODES should be consistent in the conf file; for the pseudo distributed mode, it can be all local ip, for the distributed mode, it must be the real ip, otherwise it will report an error at startup.
   
   please leave your options, thanks.


----------------------------------------------------------------
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



[GitHub] [incubator-iotdb] jt2594838 merged pull request #1208: [IOTDB-678] LOCAL_IP and SEED_NODES should be consistent in the conf file

Posted by GitBox <gi...@apache.org>.
jt2594838 merged pull request #1208:
URL: https://github.com/apache/incubator-iotdb/pull/1208


   


----------------------------------------------------------------
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



[GitHub] [incubator-iotdb] neuyilan commented on pull request #1208: [IOTDB-678] LOCAL_IP and SEED_NODES should be consistent in the conf file

Posted by GitBox <gi...@apache.org>.
neuyilan commented on pull request #1208:
URL: https://github.com/apache/incubator-iotdb/pull/1208#issuecomment-629610210


   > Great, but how about adding "localhost"? Although we can it "IP", but it accepts domain name too.
   > 
   > And one other thing, what if the user mix domain names with IPs? For example, by modifying `HOST`, the user maps "host1,host2,host3" to "192.168.1.1, 192.168.1.2, 192.168.1.3", however, he uses "host1" in the local IP but "192.168.168.1.1" in the seed nodes.
   
   Good idea, I have solved this in this latest commit,  where users can specify the configuration using IP and domain names, please review again, thanks.


----------------------------------------------------------------
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