Skip to content

Commit fbc20c7

Browse files
committed
revert to old commenting style
1 parent 752f958 commit fbc20c7

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

ec2/spark_ec2.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -726,16 +726,14 @@ def get_num_disks(instance_type):
726726
return 1
727727

728728

729+
# Deploy the configuration file templates in a given local directory to
730+
# a cluster, filling in any template parameters with information about the
731+
# cluster (e.g. lists of masters and slaves). Files are only deployed to
732+
# the first master instance in the cluster, and we expect the setup
733+
# script to be run on that instance to copy them to other nodes.
734+
#
735+
# root_dir should be an absolute path to the directory with the files we want to deploy.
729736
def deploy_files(conn, root_dir, opts, master_nodes, slave_nodes, modules):
730-
"""
731-
Deploy the configuration file templates in a given local directory to
732-
a cluster, filling in any template parameters with information about the
733-
cluster (e.g. lists of masters and slaves). Files are only deployed to
734-
the first master instance in the cluster, and we expect the setup
735-
script to be run on that instance to copy them to other nodes.
736-
737-
root_dir should be an absolute path to the directory with the files we want to deploy.
738-
"""
739737
active_master = master_nodes[0].public_dns_name
740738

741739
num_disks = get_num_disks(opts.instance_type)

0 commit comments

Comments
 (0)