aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Report errors in tasks to the driver via a Mesos status updateAnkur Dave2011-11-141-0/+18
| | | | | | | | | | | | | | | | | When a task throws an exception, the Spark executor previously just logged it to a local file on the slave and exited. This commit causes Spark to also report the exception back to the driver using a Mesos status update, so the user doesn't have to look through a log file on the slave. Here's what the reporting currently looks like: # ./run spark.examples.ExceptionHandlingTest master@203.0.113.1:5050 [...] 11/10/26 21:04:13 INFO spark.SimpleJob: Lost TID 1 (task 0:1) 11/10/26 21:04:13 INFO spark.SimpleJob: Loss was due to java.lang.Exception: Testing exception handling [...] 11/10/26 21:04:16 INFO spark.SparkContext: Job finished in 5.988547328 s
* K-means exampleMatei Zaharia2011-11-012-3/+86
|
* Fix issue #65: Change @serializable to extends Serializable in 2.9 branchIsmael Juma2011-08-021-1/+1
| | | | | | Note that we use scala.Serializable introduced in Scala 2.9 instead of java.io.Serializable. Also, case classes inherit from scala.Serializable by default.
* Merge branch 'mos-bt'Matei Zaharia2011-06-265-7/+161
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merge keeps only the broadcast work in mos-bt because the structure of shuffle has changed with the new RDD design. We still need some kind of parallel shuffle but that will be added later. Conflicts: core/src/main/scala/spark/BitTorrentBroadcast.scala core/src/main/scala/spark/ChainedBroadcast.scala core/src/main/scala/spark/RDD.scala core/src/main/scala/spark/SparkContext.scala core/src/main/scala/spark/Utils.scala core/src/main/scala/spark/shuffle/BasicLocalFileShuffle.scala core/src/main/scala/spark/shuffle/DfsShuffle.scala
| * Merge branch 'mos-shuffle-tracked' into mos-btMosharaf Chowdhury2011-04-273-0/+129
| |\ | | | | | | | | | | | | Conflicts: core/src/main/scala/spark/Broadcast.scala
| | * Merge branch 'master' into mos-shuffle-trackedMosharaf Chowdhury2011-04-273-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore core/src/main/scala/spark/LocalFileShuffle.scala src/scala/spark/BasicLocalFileShuffle.scala src/scala/spark/Broadcast.scala src/scala/spark/LocalFileShuffle.scala
| * | Merged with master. Using sbt.Mosharaf Chowdhury2011-02-091-0/+30
| | |
| * | Merge branch 'master' into mos-btMosharaf Chowdhury2011-02-091-7/+2
| |/
* | Replace deprecated fromFunction with either tabulate or fill.Ismael Juma2011-05-264-6/+6
| | | | | | | | tabulate used if indexed used by function and fill otherwise.
* | Use math instead of Math as the latter is deprecated.Ismael Juma2011-05-262-2/+2
| |
* | Initial work towards new RDD designMatei Zaharia2011-02-262-47/+0
|/
* Moved examples to spark.examples packageMatei Zaharia2011-02-0213-0/+26
|
* Made examples and core subprojectsMatei Zaharia2011-02-0113-0/+621