Skip to content

Commit

Permalink
[SPARK-33908][CORE][FOLLOWUP] Correct Scaladoc of resolveDependencyPa…
Browse files Browse the repository at this point in the history
…ths/resolveMavenDependencies

### What changes were proposed in this pull request?
Fix un-correct doc of last change #30922 (comment)

### Why are the changes needed?
FIx doc

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Builds finished correctly.

Closes #31016 from AngersZhuuuu/SPARK-33908-FOLLOW-UP.

Authored-by: angerszhu <angers.zhu@gmail.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
  • Loading branch information
AngersZhuuuu authored and dongjoon-hyun committed Jan 4, 2021
1 parent 9b4173f commit 559f411
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1194,11 +1194,11 @@ private[spark] object SparkSubmitUtils {
}

/**
* Output a comma-delimited list of paths for the downloaded jars to be added to the classpath
* Output a list of paths for the downloaded jars to be added to the classpath
* (will append to jars in SparkSubmit).
* @param artifacts Sequence of dependencies that were resolved and retrieved
* @param cacheDirectory directory where jars are cached
* @return a comma-delimited list of paths for the dependencies
* @param cacheDirectory Directory where jars are cached
* @return List of paths for the dependencies
*/
def resolveDependencyPaths(
artifacts: Array[AnyRef],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private[spark] object DependencyUtils extends Logging {
* 2. exclude: exclusion list when download Ivy URI jar and dependency jars.
* The `exclude` parameter content is a ',' separated `group:module` pair string :
* `exclude=group:module,group:module...`
* @return Comma separated string list of jars downloaded.
* @return List of jars downloaded.
*/
def resolveMavenDependencies(uri: URI): Seq[String] = {
val ivyProperties = DependencyUtils.getIvyProperties()
Expand Down

0 comments on commit 559f411

Please sign in to comment.