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

    https://github.com/apache/spark/pull/14861#discussion_r81464644
  
    --- Diff: python/pyspark/context.py ---
    @@ -762,13 +762,16 @@ def accumulator(self, value, accum_param=None):
             SparkContext._next_accum_id += 1
             return Accumulator(SparkContext._next_accum_id - 1, value, 
accum_param)
     
    -    def addFile(self, path):
    +    def addFile(self, path, recursive=False):
             """
             Add a file to be downloaded with this Spark job on every node.
             The C{path} passed can be either a local file, a file in HDFS
             (or other Hadoop-supported filesystems), or an HTTP, HTTPS or
             FTP URI.
     
    +        A directory can be given if the recursive option is set to true.
    +        Currently directories are onlysupported for Hadoop-supported 
filesystems.
    --- End diff --
    
    Minor nit: typo (onlysupported needs a space)


---
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