[
https://issues.apache.org/jira/browse/HDFS-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621093#comment-13621093
]
Tom White commented on HDFS-3068:
---------------------------------
Uma, that would be a good way to fix this.
> RemoteBlockReader2 fails when using SocksSocketFactory
> -------------------------------------------------------
>
> Key: HDFS-3068
> URL: https://issues.apache.org/jira/browse/HDFS-3068
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 0.23.1
> Reporter: Tom White
>
> When hadoop.rpc.socket.factory.class.default is set to
> org.apache.hadoop.net.SocksSocketFactory, HDFS file reads fail with errors
> like
> {noformat}
> Socket Socket[addr=/10.12.185.132,port=50010,localport=55216] does not have
> an associated Channel.
> {noformat}
> The workaround is to set dfs.client.use.legacy.blockreader=true to use the
> old implementation of RemoteBlockReader. RemoteBlockReader should not be
> removed until this bug is fixed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira