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

Solve the problem that DataXceiverServer#run() does not record SocketTimeout exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • datanode

    Description

      In DataXceiverServer#run(), if a SocketTimeout exception occurs, no information will be recorded here.
      try

      { ...... }

      catch (SocketTimeoutException ignored)

      { // wake up to see if should continue to run }

      No records are generated here, which is not conducive to troubleshooting.
      We should add some warning type logs.

      Attachments

        Issue Links

          Activity

            People

              jianghuazhu JiangHua Zhu
              jianghuazhu JiangHua Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h