Skip to content

Commit 90cc379

Browse files
shivaramCodingCat
authored andcommitted
[CORE] [SPARK-9760] Use Option instead of Some for Ivy repos
This was introduced in apache#7599 cc rxin brkyvz Author: Shivaram Venkataraman <[email protected]> Closes apache#8055 from shivaram/spark-packages-repo-fix and squashes the following commits: 890f306 [Shivaram Venkataraman] Remove test case 51d69ee [Shivaram Venkataraman] Add test case for --packages without --repository c02e0b4 [Shivaram Venkataraman] Use Option instead of Some for Ivy repos
1 parent 6e37231 commit 90cc379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ object SparkSubmit {
284284
Nil
285285
}
286286
val resolvedMavenCoordinates = SparkSubmitUtils.resolveMavenCoordinates(args.packages,
287-
Some(args.repositories), Some(args.ivyRepoPath), exclusions = exclusions)
287+
Option(args.repositories), Option(args.ivyRepoPath), exclusions = exclusions)
288288
if (!StringUtils.isBlank(resolvedMavenCoordinates)) {
289289
args.jars = mergeFileLists(args.jars, resolvedMavenCoordinates)
290290
if (args.isPython) {

0 commit comments

Comments
 (0)