jeffsaremi commented on a change in pull request #1480: HDFS-14857 FS 
operations fail in HA mode: DataNode fails to connect to NameNode
URL: https://github.com/apache/hadoop/pull/1480#discussion_r326781148
 
 

 ##########
 File path: 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/AbstractNNFailoverProxyProvider.java
 ##########
 @@ -200,6 +201,24 @@ public HAServiceState getCachedState() {
     return proxies;
   }
 
+  /**
+   * Resets the NameNode proxy addresses in case they're stale
+   */
+  protected void resetProxyAddresses(List<NNProxyInfo<T>> proxies) {
 
 Review comment:
   Yes this is a sensible suggestion. I'll work on incorporating that

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to