Repository: spark
Updated Branches:
  refs/heads/branch-1.3 11b28b9b4 -> 3d99741b2


SPARK-5403: Ignore UserKnownHostsFile in SSH calls

See https://issues.apache.org/jira/browse/SPARK-5403

Author: Grzegorz Dubicki <grzegorz.dubi...@gmail.com>

Closes #4196 from grzegorz-dubicki/SPARK-5403 and squashes the following 
commits:

a7d863f [Grzegorz Dubicki] Resolve start command hanging issue

(cherry picked from commit e772b4e4e1b790199dd000bd096a8917cb8def24)
Signed-off-by: Josh Rosen <joshro...@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3d99741b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3d99741b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3d99741b

Branch: refs/heads/branch-1.3
Commit: 3d99741b289ba606219c9cbea16929cb0f4f8d8e
Parents: 11b28b9
Author: Grzegorz Dubicki <grzegorz.dubi...@gmail.com>
Authored: Fri Feb 6 15:43:58 2015 -0800
Committer: Josh Rosen <joshro...@databricks.com>
Committed: Fri Feb 6 15:44:27 2015 -0800

----------------------------------------------------------------------
 ec2/spark_ec2.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3d99741b/ec2/spark_ec2.py
----------------------------------------------------------------------
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index 7371558..3f7242a 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -899,6 +899,7 @@ def stringify_command(parts):
 
 def ssh_args(opts):
     parts = ['-o', 'StrictHostKeyChecking=no']
+    parts += ['-o', 'UserKnownHostsFile=/dev/null']
     if opts.identity_file is not None:
         parts += ['-i', opts.identity_file]
     return parts


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to