You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2010/11/03 18:52:25 UTC

[jira] Created: (MAPREDUCE-2174) Introduce timeout in bin/slaves.sh

Introduce timeout in bin/slaves.sh
----------------------------------

                 Key: MAPREDUCE-2174
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2174
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
    Affects Versions: 0.20.2
            Reporter: Ted Yu


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-2174) Introduce timeout in bin/slaves.sh

Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927942#action_12927942 ] 

Allen Wittenauer commented on MAPREDUCE-2174:
---------------------------------------------

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

> Introduce timeout in bin/slaves.sh
> ----------------------------------
>
>                 Key: MAPREDUCE-2174
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2174
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Ted Yu
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-2174) Introduce timeout in bin/slaves.sh

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928060#action_12928060 ] 

Ted Yu commented on MAPREDUCE-2174:
-----------------------------------

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

slaves.sh has been running for several minutes.

> Introduce timeout in bin/slaves.sh
> ----------------------------------
>
>                 Key: MAPREDUCE-2174
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2174
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 0.20.2
>            Reporter: Ted Yu
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.