You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Florian Verhein (JIRA)" <ji...@apache.org> on 2015/02/17 00:37:11 UTC
[jira] [Created] (SPARK-5851) spark_ec2.py ssh failure retry
handling not always appropriate
Florian Verhein created SPARK-5851:
--------------------------------------
Summary: spark_ec2.py ssh failure retry handling not always appropriate
Key: SPARK-5851
URL: https://issues.apache.org/jira/browse/SPARK-5851
Project: Spark
Issue Type: Bug
Components: EC2
Reporter: Florian Verhein
Priority: Minor
The following function doesn't distinguish between the ssh failing (e.g. presumably a connection issue) and the remote command that it executes failing (e.g. setup.sh). The latter should probably not result in a retry.
Perhaps tries could be an argument that is set to 1 for certain usages.
# Run a command on a host through ssh, retrying up to five times
# and then throwing an exception if ssh continues to fail.
def ssh(host, opts, command):
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org