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

RemoteBlockReader2 fails when using SocksSocketFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.23.1
    • None
    • hdfs-client
    • 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

              Unassigned Unassigned
              tomwhite Thomas White
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: