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

SocketTimeoutException in BlockSender.sendChunks could have a better error message

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.7.0
    • Component/s: datanode
    • Labels:

      Description

      Currently, if a client connects to a DN and begins to read a block, but then stops calling read() for a long period of time, the DN will log a SocketTimeoutException "480000 millis timeout while waiting for channel to be ready for write." This is because there is no "keepalive" functionality of any kind. At a minimum, we should improve this error message to be an INFO level log which just says that the client likely stopped reading, so disconnecting it.

        Attachments

        1. HDFS-3342.003.patch
          3 kB
          Yongjun Zhang
        2. HDFS-3342.002.patch
          2 kB
          Yongjun Zhang
        3. HDFS-3342.002.patch
          2 kB
          Yongjun Zhang
        4. HDFS-3342.001.patch
          1 kB
          Yongjun Zhang

          Activity

            People

            • Assignee:
              yzhangal Yongjun Zhang
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: