Skip to content
Snippets Groups Projects
Commit f0881f8d authored by Mridul Muralidharan's avatar Mridul Muralidharan
Browse files

Hope this does not turn into a bike shed change

parent f16c7817
No related branches found
No related tags found
No related merge requests found
...@@ -537,8 +537,10 @@ class SparkContext( ...@@ -537,8 +537,10 @@ class SparkContext(
* filesystems), or an HTTP, HTTPS or FTP URI. * filesystems), or an HTTP, HTTPS or FTP URI.
*/ */
def addJar(path: String) { def addJar(path: String) {
// weird - debug why this is happening. if (null == path) {
if (null == path) return logInfo("null specified as parameter to addJar")
return
}
val uri = new URI(path) val uri = new URI(path)
val key = uri.getScheme match { val key = uri.getScheme match {
case null | "file" => env.httpFileServer.addJar(new File(uri.getPath)) case null | "file" => env.httpFileServer.addJar(new File(uri.getPath))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment