Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Incompatible change, Reviewed
-
The Client#call() methods that are deprecated since 0.23 have been removed.
Description
private static ClientCache CLIENTS=new ClientCache(); ... this.client = CLIENTS.getClient(conf, factory);
Meanwhile in ClientCache
public synchronized Client getClient(Configuration conf, SocketFactory factory, Class<? extends Writable> valueClass) { ... Client client = clients.get(factory); if (client == null) { client = new Client(valueClass, conf, factory); clients.put(factory, client); } else { client.incCount(); }
All invokers end up calling these methods, resulting in IPC clients choking up.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-12052 IPC client downgrades all exception types to IOE, breaks callers trying to use them
- Resolved
-
SLIDER-896 TestClientBasicArgs.testListUnknownRM fails on Windows
- Resolved