You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Subroto Sanyal (JIRA)" <ji...@apache.org> on 2012/06/06 16:48:23 UTC
[jira] [Updated] (MAPREDUCE-4319) MRClientProtocolPBClientImpl
creates proxy for AM ignoring custom SocketFactory
[ https://issues.apache.org/jira/browse/MAPREDUCE-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subroto Sanyal updated MAPREDUCE-4319:
--------------------------------------
Attachment: screenshot-1.jpg
The screenshot shows the Call Hierarchy....
> 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
> Attachments: screenshot-1.jpg
>
>
> 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