Github user nchammas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4385#discussion_r24219781
  
    --- Diff: ec2/spark_ec2.py ---
    @@ -643,12 +654,14 @@ def setup_cluster(conn, master_nodes, slave_nodes, 
opts, deploy_ssh_key):
     
         # NOTE: We should clone the repository before running deploy_files to
         # prevent ec2-variables.sh from being overwritten
    +    repo_branch="{r} -b {b}".format(r=opts.spark_ec2_git_repo, 
b=opts.spark_ec2_branch)
    +    print "Cloning spark-ec2 scripts from {rb} on 
master...".format(rb=repo_branch)
    --- End diff --
    
    We're saying the branch twice here, once in `repo_branch`, and then again 
with the hard coded `master` in this string. I don't think it's correct.
    
    Something that says:
    
    > Cloning spark-ec2 scripts from 
https://github.com/mesos/spark-ec2/tree/branch-1.3 ...
    
    should be fine since that's the convention that GitHub follows and this is 
just an info message anyway.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to