Repository: spark
Updated Branches:
  refs/heads/branch-1.0 2e418f517 -> a2742d850


Typos in Spark

Author: Huajian Mao <huajian...@gmail.com>

Closes #798 from huajianmao/patch-1 and squashes the following commits:

208a454 [Huajian Mao] A typo in Task
1b515af [Huajian Mao] A typo in the message

(cherry picked from commit 94c5139607ec876782e594012a108ebf55fa97db)
Signed-off-by: Reynold Xin <r...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a2742d85
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a2742d85
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a2742d85

Branch: refs/heads/branch-1.0
Commit: a2742d8506463dd0c7bbab06abcd68a0ae44c8e5
Parents: 2e418f5
Author: Huajian Mao <huajian...@gmail.com>
Authored: Thu May 15 18:20:16 2014 -0700
Committer: Reynold Xin <r...@apache.org>
Committed: Thu May 15 18:20:24 2014 -0700

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/scheduler/Task.scala          | 2 +-
 .../main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/a2742d85/core/src/main/scala/org/apache/spark/scheduler/Task.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/scheduler/Task.scala 
b/core/src/main/scala/org/apache/spark/scheduler/Task.scala
index 2ca3479..5871ede 100644
--- a/core/src/main/scala/org/apache/spark/scheduler/Task.scala
+++ b/core/src/main/scala/org/apache/spark/scheduler/Task.scala
@@ -33,7 +33,7 @@ import org.apache.spark.util.ByteBufferInputStream
  * - [[org.apache.spark.scheduler.ResultTask]]
  *
  * A Spark job consists of one or more stages. The very last stage in a job 
consists of multiple
- * ResultTask's, while earlier stages consist of ShuffleMapTasks. A ResultTask 
executes the task
+ * ResultTasks, while earlier stages consist of ShuffleMapTasks. A ResultTask 
executes the task
  * and sends the task output back to the driver application. A ShuffleMapTask 
executes the task
  * and divides the task output to multiple buckets (based on the task's 
partitioner).
  *

http://git-wip-us.apache.org/repos/asf/spark/blob/a2742d85/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala
----------------------------------------------------------------------
diff --git 
a/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala 
b/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala
index 649eed2..17292b4 100644
--- a/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala
+++ b/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala
@@ -105,7 +105,7 @@ private[spark] class TaskSchedulerImpl(
     SchedulingMode.withName(schedulingModeConf.toUpperCase)
   } catch {
     case e: java.util.NoSuchElementException =>
-      throw new SparkException(s"Urecognized spark.scheduler.mode: 
$schedulingModeConf")
+      throw new SparkException(s"Unrecognized spark.scheduler.mode: 
$schedulingModeConf")
   }
 
   // This is a var so that we can reset it for testing purposes.

Reply via email to