Skip to content

Commit e772b4e

Browse files
gdubickiJoshRosen
authored andcommitted
SPARK-5403: Ignore UserKnownHostsFile in SSH calls
See https://issues.apache.org/jira/browse/SPARK-5403 Author: Grzegorz Dubicki <grzegorz.dubicki@gmail.com> Closes #4196 from grzegorz-dubicki/SPARK-5403 and squashes the following commits: a7d863f [Grzegorz Dubicki] Resolve start command hanging issue
1 parent 0e23ca9 commit e772b4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ec2/spark_ec2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ def stringify_command(parts):
899899

900900
def ssh_args(opts):
901901
parts = ['-o', 'StrictHostKeyChecking=no']
902+
parts += ['-o', 'UserKnownHostsFile=/dev/null']
902903
if opts.identity_file is not None:
903904
parts += ['-i', opts.identity_file]
904905
return parts

0 commit comments

Comments
 (0)