Subroto Sanyal created MAPREDUCE-4319: -----------------------------------------
Summary: MRClientProtocolPBClientImpl creates proxy for AM ignoring custom SocketFactory Key: MAPREDUCE-4319 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4319 Project: Hadoop Map/Reduce Issue Type: Bug Components: mrv2 Affects Versions: 0.23.1 Reporter: Subroto Sanyal Use a Customized socket factory and set in the configuration. The constructor of MRClientProtocolPBClientImpl creates proxy with DefaultSocketFactory {code} public static <T> ProtocolProxy<T> getProtocolProxy(Class<T> protocol, long clientVersion, InetSocketAddress addr, Configuration conf) throws IOException { return getProtocolProxy(protocol, clientVersion, addr, conf, NetUtils .getDefaultSocketFactory(conf)); } {code} It should use NetUtils.getSocketFactory(Configuration conf,Class<?> clazz) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira