Skip to content

Commit 6c34671

Browse files
author
Allan Douglas R. de Oliveira
committed
Use number of worker instances as string on template
1 parent ba528b9 commit 6c34671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ec2/spark_ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def deploy_files(conn, root_dir, opts, master_nodes, slave_nodes, modules):
555555
"spark_version": spark_v,
556556
"shark_version": shark_v,
557557
"hadoop_major_version": opts.hadoop_major_version,
558-
"spark_worker_instances": opts.worker_instances
558+
"spark_worker_instances": "%d" % opts.worker_instances
559559
}
560560

561561
# Create a temp directory in which we will place all the files to be

0 commit comments

Comments
 (0)