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

    https://github.com/apache/spark/pull/18078#discussion_r118636289
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
    @@ -825,6 +837,43 @@ object SparkSubmit extends CommandLineUtils {
                           .mkString(",")
         if (merged == "") null else merged
       }
    +
    +  /**
    +   * Download a list of remote files to temp local files. If the file is 
local, the original file
    +   * will be returned.
    +   * @param fileList A comma separated file list, it cannot be null.
    +   * @return A comma separated local files list.
    +   */
    +  private[deploy] def downloadFileList(
    +      fileList: String,
    +      hadoopConf: HadoopConfiguration): String = {
    +    fileList.split(",").map(downloadFile(_, hadoopConf)).mkString(",")
    +  }
    +
    +  /**
    +   * Download remote file to a temporary local file. If the file is local, 
the original file
    --- End diff --
    
    How about?
    
    > Downloads a file from the remote to a local temporary directory. If the 
input path points to a local path, returns it with no operation


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