Typos in Spark

Author: Huajian Mao <huajianmao@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
This commit is contained in:
Huajian Mao 2014-05-15 18:20:16 -07:00 committed by Reynold Xin
parent e1e3416c4e
commit 94c5139607
2 changed files with 2 additions and 2 deletions

View file

@ -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).
*

View file

@ -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.