You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jo...@apache.org on 2015/02/07 00:44:18 UTC

spark git commit: SPARK-5403: Ignore UserKnownHostsFile in SSH calls

Repository: spark
Updated Branches:
  refs/heads/master 0e23ca9f8 -> e772b4e4e


SPARK-5403: Ignore UserKnownHostsFile in SSH calls

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

Author: Grzegorz Dubicki <gr...@gmail.com>

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

a7d863f [Grzegorz Dubicki] Resolve start command hanging issue


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

Branch: refs/heads/master
Commit: e772b4e4e1b790199dd000bd096a8917cb8def24
Parents: 0e23ca9
Author: Grzegorz Dubicki <gr...@gmail.com>
Authored: Fri Feb 6 15:43:58 2015 -0800
Committer: Josh Rosen <jo...@databricks.com>
Committed: Fri Feb 6 15:43:58 2015 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/e772b4e4/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-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org