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

Make QJM HTTP URL connection timeout configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.2
    • qjm
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: