apache-spark-on-k8s / kubernetes-HDFS

Repository holding configuration files for running an HDFS cluster in Kubernetes
Apache License 2.0
397 stars 185 forks source link

Connection was refused when IP address of NN pod changed #78

Open ssquan opened 5 years ago

ssquan commented 5 years ago

Hi, I checked the source code of the HDFS and fount out that HDFS client builds a socket with the IP address of NN. The virtual IP would change if NN restarts, accordingly, Rpc Connection from HDFS client to NN will be refused. Any suggestions to solve this problem?