Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not A Problem
    • Affects Version/s: 0.20.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If connection to one slave has problem, slaves.sh appears to hang.
      We can incorporate timeout mechanism by using the script from Dmitry V Golovashkin

        Activity

        Hide
        Allen Wittenauer added a comment -

        There is a connection timeout mechanism built into ssh. Just configure ConnectTimeout appropriately in hadoop-env.sh.

        Show
        Allen Wittenauer added a comment - There is a connection timeout mechanism built into ssh. Just configure ConnectTimeout appropriately in hadoop-env.sh.
        Hide
        Ted Yu added a comment -

        I put this in hadoop-env.sh:
        export HADOOP_SSH_OPTS="-o ConnectTimeout=1"

        slaves.sh has been running for several minutes.

        Show
        Ted Yu added a comment - I put this in hadoop-env.sh: export HADOOP_SSH_OPTS="-o ConnectTimeout=1" slaves.sh has been running for several minutes.
        Hide
        Allen Wittenauer added a comment -

        Closing as not a problem due to multiple solutions in place for trunk. (local config, using pdsh instead of ssh, etc, etc, etc,)

        Show
        Allen Wittenauer added a comment - Closing as not a problem due to multiple solutions in place for trunk. (local config, using pdsh instead of ssh, etc, etc, etc,)

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development