Skip to content

Commit 94c5139

Browse files
huajianmaorxin
authored andcommitted
Typos in Spark
Author: Huajian Mao <[email protected]> Closes apache#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
1 parent e1e3416 commit 94c5139

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/scheduler/Task.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import org.apache.spark.util.ByteBufferInputStream
3333
* - [[org.apache.spark.scheduler.ResultTask]]
3434
*
3535
* A Spark job consists of one or more stages. The very last stage in a job consists of multiple
36-
* ResultTask's, while earlier stages consist of ShuffleMapTasks. A ResultTask executes the task
36+
* ResultTasks, while earlier stages consist of ShuffleMapTasks. A ResultTask executes the task
3737
* and sends the task output back to the driver application. A ShuffleMapTask executes the task
3838
* and divides the task output to multiple buckets (based on the task's partitioner).
3939
*

core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private[spark] class TaskSchedulerImpl(
105105
SchedulingMode.withName(schedulingModeConf.toUpperCase)
106106
} catch {
107107
case e: java.util.NoSuchElementException =>
108-
throw new SparkException(s"Urecognized spark.scheduler.mode: $schedulingModeConf")
108+
throw new SparkException(s"Unrecognized spark.scheduler.mode: $schedulingModeConf")
109109
}
110110

111111
// This is a var so that we can reset it for testing purposes.

0 commit comments

Comments
 (0)