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

Make QJM HTTP URL connection timeout configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.2
    • Component/s: qjm
    • Labels:
      None

      Description

      We've seen "connect timed out" happen internally when QJM tries to open HTTP connections to JNs. This is now using newDefaultURLConnectionFactory which uses the default timeout 60s, and is not configurable.

      It would be better for this to be configurable, especially for ObserverNameNode (HDFS-12943), where latency is important, and 60s may not be a good value.

        Attachments

        1. HDFS-13735.001.patch
          5 kB
          Chao Sun
        2. HDFS-13735.000.patch
          4 kB
          Chao Sun

          Issue Links

            Activity

              People

              • Assignee:
                csun Chao Sun
                Reporter:
                csun Chao Sun
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: