We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57ceeb commit c1f7d16Copy full SHA for c1f7d16
core/src/main/scala/org/apache/spark/scheduler/CoarseCookSchedulerBackend.scala
@@ -43,7 +43,7 @@ import scala.collection.mutable
43
object CoarseCookSchedulerBackend {
44
def fetchUri(uri: String): String =
45
Option(URI.create(uri).getScheme).map(_.toLowerCase) match {
46
- case Some("http") => s"curl $uri"
+ case Some("http") => s"curl -O $uri"
47
case Some("spark-rsync") =>
48
val regex = "^spark-rsync://".r
49
val cleanURI = regex.replaceFirstIn(uri, "")
0 commit comments