aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAaron Davidson <aaron@databricks.com>2013-10-21 15:53:28 -0700
committerAaron Davidson <aaron@databricks.com>2013-10-21 15:56:14 -0700
commit0071f0899c2931610823f16adcf1f71457edebcc (patch)
tree7a9ff6c373e91c9532d24b0746437de204515bd9 /core
parentaa61bfd39962a3e3c8ba8e4bcf25f48212933cce (diff)
downloadspark-0071f0899c2931610823f16adcf1f71457edebcc.tar.gz
spark-0071f0899c2931610823f16adcf1f71457edebcc.tar.bz2
spark-0071f0899c2931610823f16adcf1f71457edebcc.zip
Fix mesos urls
This was a bug I introduced in https://github.com/apache/incubator-spark/pull/71 Previously, we explicitly removed the mesos:// part; with PR 71, this no longer occured.
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/SparkContext.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/SparkContext.scala b/core/src/main/scala/org/apache/spark/SparkContext.scala
index ebd2f46173..564466cfd5 100644
--- a/core/src/main/scala/org/apache/spark/SparkContext.scala
+++ b/core/src/main/scala/org/apache/spark/SparkContext.scala
@@ -156,8 +156,8 @@ class SparkContext(
val LOCAL_CLUSTER_REGEX = """local-cluster\[\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*]""".r
// Regular expression for connecting to Spark deploy clusters
val SPARK_REGEX = """spark://(.*)""".r
- //Regular expression for connection to Mesos cluster
- val MESOS_REGEX = """(mesos://.*)""".r
+ // Regular expression for connection to Mesos cluster
+ val MESOS_REGEX = """mesos://(.*)""".r
master match {
case "local" =>