From 9e2d5d6d05a2d8b657d06fdf3db49d588394a579 Mon Sep 17 00:00:00 2001 From: litao Date: Mon, 5 Apr 2021 16:47:10 +0800 Subject: [PATCH] HDFS-15951. Remove unused parameters in NameNodeProxiesClient (#2859) Signed-off-by: Takanobu Asanuma --- .../java/org/apache/hadoop/hdfs/NameNodeProxiesClient.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/NameNodeProxiesClient.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/NameNodeProxiesClient.java index 31bc2d97a86..3725fc21590 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/NameNodeProxiesClient.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/NameNodeProxiesClient.java @@ -78,11 +78,6 @@ public class NameNodeProxiesClient { private static final Logger LOG = LoggerFactory.getLogger( NameNodeProxiesClient.class); - /** Maximum # of retries for HAProxy with HAServiceProtocol. */ - private static final int MAX_RETRIES = 3; - /** Initial retry delay for HAProxy with HAServiceProtocol. */ - private static final int DELAY_MILLISECONDS = 200; - /** * Wrapper for a client proxy as well as its associated service ID. * This is simply used as a tuple-like return type for created NN proxy.