Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3068

RemoteBlockReader2 fails when using SocksSocketFactory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.23.1
    • Fix Version/s: None
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      When hadoop.rpc.socket.factory.class.default is set to org.apache.hadoop.net.SocksSocketFactory, HDFS file reads fail with errors like

      Socket Socket[addr=/10.12.185.132,port=50010,localport=55216] does not have an associated Channel.
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tomwhite Tom White
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: