Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.23.3
-
None
-
Reviewed
Description
The HAAdmin failover could should time out reasonably aggressively and go onto the fencing strategies if it's dealing with a mostly dead active namenode. Currently it uses what's probably the default, which is to say no timeout whatsoever.
/** * Return a proxy to the specified target service. */ protected HAServiceProtocol getProtocol(String serviceId) throws IOException { String serviceAddr = getServiceAddr(serviceId); InetSocketAddress addr = NetUtils.createSocketAddr(serviceAddr); return (HAServiceProtocol)RPC.getProxy( HAServiceProtocol.class, HAServiceProtocol.versionID, addr, getConf()); }
Attachments
Attachments
Issue Links
- depends upon
-
HADOOP-8193 Refactor FailoverController/HAAdmin code to add an abstract class for "target" services
-
- Closed
-