Hadoop Common
  1. Hadoop Common
  2. HADOOP-9503

Remove sleep between IPC client connect timeouts

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta
    • Fix Version/s: 2.1.0-beta
    • Component/s: ipc
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HADOOP-9106 introduced a configurable retry timeout when there are socket timeouts errors.

      Since the IPC client is used by a wide variety of applications including realtime/online ones (like hbase + hdfs), we sometimes need fast fail timeouts which are < 3 seconds. Achieving such a timeout for connect is very difficult with a 1 second sleep in b/w retries. It would be good to remove this sleep.

      1. 9503.patch
        0.7 kB
        Varun Sharma

        Activity

        Varun Sharma created issue -
        Harsh J made changes -
        Field Original Value New Value
        Description HADOOP 9106 introduced a configurable retry timeout when there are socket timeouts errors.

        Since the IPC client is used by a wide variety of applications including realtime/online ones (like hbase + hdfs), we sometimes need fast fail timeouts which are < 3 seconds. Achieving such a timeout for connect is very difficult with a 1 second sleep in b/w retries. It would be good to have a configurable parameter to reduce this sleep.
        HADOOP-9106 introduced a configurable retry timeout when there are socket timeouts errors.

        Since the IPC client is used by a wide variety of applications including realtime/online ones (like hbase + hdfs), we sometimes need fast fail timeouts which are < 3 seconds. Achieving such a timeout for connect is very difficult with a 1 second sleep in b/w retries. It would be good to have a configurable parameter to reduce this sleep.
        Varun Sharma made changes -
        Attachment 9503.patch [ 12580566 ]
        Varun Sharma made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 2.0.5-beta [ 12324030 ]
        Tsz Wo Nicholas Sze made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Summary Allow a configurable sleep between IPC client connect timeouts Remove sleep between IPC client connect timeouts
        Assignee Varun Sharma [ varunsharma ]
        Description HADOOP-9106 introduced a configurable retry timeout when there are socket timeouts errors.

        Since the IPC client is used by a wide variety of applications including realtime/online ones (like hbase + hdfs), we sometimes need fast fail timeouts which are < 3 seconds. Achieving such a timeout for connect is very difficult with a 1 second sleep in b/w retries. It would be good to have a configurable parameter to reduce this sleep.
        HADOOP-9106 introduced a configurable retry timeout when there are socket timeouts errors.

        Since the IPC client is used by a wide variety of applications including realtime/online ones (like hbase + hdfs), we sometimes need fast fail timeouts which are < 3 seconds. Achieving such a timeout for connect is very difficult with a 1 second sleep in b/w retries. It would be good to remove this sleep.
        Tsz Wo Nicholas Sze made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 2.0.5-beta [ 12324030 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Varun Sharma
            Reporter:
            Varun Sharma
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development