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

    https://github.com/apache/spark/pull/4583#discussion_r24716159
  
    --- Diff: ec2/spark_ec2.py ---
    @@ -931,6 +947,22 @@ def deploy_files(conn, root_dir, opts, master_nodes, 
slave_nodes, modules):
         shutil.rmtree(tmp_dir)
     
     
    +# Deploy files in a given local directory to a cluster, WITHOUT parameter 
substitution.
    +# Note that unlike deploy_files, this works for binary files.
    +# Files are only deployed to the first master instance in the cluster.
    +#
    +# root_dir should be an absolute path to the directory with the files we 
want to deploy.
    +def deploy_user_files(conn, root_dir, opts, master_nodes, slave_nodes, 
modules):
    --- End diff --
    
    `slave_nodes` and `modules` are not used in this function ?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to