Return-Path: X-Original-To: apmail-spark-reviews-archive@minotaur.apache.org Delivered-To: apmail-spark-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE1C417EE1 for ; Thu, 30 Oct 2014 04:10:27 +0000 (UTC) Received: (qmail 48284 invoked by uid 500); 30 Oct 2014 04:10:27 -0000 Delivered-To: apmail-spark-reviews-archive@spark.apache.org Received: (qmail 48258 invoked by uid 500); 30 Oct 2014 04:10:27 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 48186 invoked by uid 99); 30 Oct 2014 04:10:02 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2014 04:10:02 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 49830924534; Thu, 30 Oct 2014 04:10:02 +0000 (UTC) From: nchammas To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark pull request: [SPARK-4137] [EC2] Don't change working dir on... Content-Type: text/plain Message-Id: <20141030041002.49830924534@tyr.zones.apache.org> Date: Thu, 30 Oct 2014 04:10:02 +0000 (UTC) Github user nchammas commented on a diff in the pull request: https://github.com/apache/spark/pull/2988#discussion_r19587131 --- Diff: ec2/spark_ec2.py --- @@ -718,12 +726,16 @@ def get_num_disks(instance_type): return 1 -# Deploy the configuration file templates in a given local directory to -# a cluster, filling in any template parameters with information about the -# cluster (e.g. lists of masters and slaves). Files are only deployed to -# the first master instance in the cluster, and we expect the setup -# script to be run on that instance to copy them to other nodes. def deploy_files(conn, root_dir, opts, master_nodes, slave_nodes, modules): + """ + Deploy the configuration file templates in a given local directory to --- End diff -- Yeah, I thought I'd make this the first change toward having all the function descriptions be in docstrings, but for consistency's sake you're right--it should be a comment on top. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org