HDFS-15951. Remove unused parameters in NameNodeProxiesClient (#2859)

Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
This commit is contained in:
litao 2021-04-05 16:47:10 +08:00 committed by GitHub
parent ca5e13fd74
commit 9e2d5d6d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,11 +78,6 @@ public class NameNodeProxiesClient {
private static final Logger LOG = LoggerFactory.getLogger( private static final Logger LOG = LoggerFactory.getLogger(
NameNodeProxiesClient.class); 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. * 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. * This is simply used as a tuple-like return type for created NN proxy.