Skip to content

Commit

Permalink
[CORE] [SPARK-9760] Use Option instead of Some for Ivy repos
Browse files Browse the repository at this point in the history
This was introduced in apache#7599

cc rxin brkyvz

Author: Shivaram Venkataraman <shivaram@cs.berkeley.edu>

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
  • Loading branch information
shivaram authored and rxin committed Aug 9, 2015
1 parent 23cf5af commit 4602561
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ object SparkSubmit {
Nil
}
val resolvedMavenCoordinates = SparkSubmitUtils.resolveMavenCoordinates(args.packages,
Some(args.repositories), Some(args.ivyRepoPath), exclusions = exclusions)
Option(args.repositories), Option(args.ivyRepoPath), exclusions = exclusions)
if (!StringUtils.isBlank(resolvedMavenCoordinates)) {
args.jars = mergeFileLists(args.jars, resolvedMavenCoordinates)
if (args.isPython) {
Expand Down

0 comments on commit 4602561

Please sign in to comment.