@@ -2972,6 +2972,12 @@ private[spark] object Utils extends Logging {
2972
2972
metadata.toString
2973
2973
}
2974
2974
2975
+ /**
2976
+ * Download Ivy URIs dependent jars.
2977
+ *
2978
+ * @param uri Ivy uri need to be downloaded.
2979
+ * @return Comma separated string list of URIs of downloaded jars
2980
+ */
2975
2981
def resolveMavenDependencies (uri : URI ): String = {
2976
2982
val Seq (repositories, ivyRepoPath, ivySettingsPath) =
2977
2983
Seq (
@@ -2992,7 +2998,7 @@ private[spark] object Utils extends Logging {
2992
2998
}
2993
2999
2994
3000
/**
2995
- * @param queryString
3001
+ * @param queryString Ivy URI query part string.
2996
3002
* @return Exclude list which contains grape parameters of exclude.
2997
3003
* Example: Input: exclude=org.mortbay.jetty:jetty,org.eclipse.jetty:jetty-http
2998
3004
* Output: [org.mortbay.jetty:jetty, org.eclipse.jetty:jetty-http]
@@ -3014,10 +3020,10 @@ private[spark] object Utils extends Logging {
3014
3020
}
3015
3021
3016
3022
/**
3017
- * @param queryString
3018
- * @return Exclude list which contains grape parameters of exclude .
3019
- * Example: Input: exclude=org.mortbay.jetty:jetty,org.eclipse.jetty:jetty-http
3020
- * Output: [org.mortbay.jetty:jetty, org.eclipse.jetty:jetty-http]
3023
+ * @param queryString Ivy URI query part string.
3024
+ * @return Exclude list which contains grape parameters of transitive .
3025
+ * Example: Input: exclude=org.mortbay.jetty:jetty&transitive=true
3026
+ * Output: true
3021
3027
*/
3022
3028
private def parseTransitive (queryString : String ): Boolean = {
3023
3029
if (queryString == null || queryString.isEmpty) {
0 commit comments