aboutsummaryrefslogtreecommitdiff
path: root/examples/src
Commit message (Collapse)AuthorAgeFilesLines
* Changed JavaStreamingContextWith*** to ***Function in streaming.api.java.*** ↵Tathagata Das2014-01-062-6/+6
| | | | package. Also fixed packages of Flume and MQTT tests.
* Refactored kafka, flume, zeromq, mqtt as separate external projects, with ↵Tathagata Das2013-12-306-13/+20
| | | | their own self-contained scala API, java API, scala unit tests and java unit tests. Updated examples to use the external projects.
* Refactored streaming project to separate out the twitter functionality.Tathagata Das2013-12-263-1/+4
|
* Fixed job name in the java streaming example.azuryyu2013-12-241-1/+1
|
* Merge branch 'master' of github.com:apache/incubator-spark into scala-2.10-tempPrashant Sharma2013-11-216-16/+19
|\ | | | | | | | | | | Conflicts: core/src/main/scala/org/apache/spark/util/collection/PrimitiveVector.scala streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaStreamingContext.scala
| * Merge branch 'master' into removesemicolonscalaHenry Saputra2013-11-192-11/+14
| |\
| | * Enable the Broadcast examples to work in a cluster settingAaron Davidson2013-11-182-11/+14
| | | | | | | | | | | | | | | Since they rely on println to display results, we need to first collect those results to the driver to have them actually display locally.
| * | Remove the semicolons at the end of Scala code to make it more pure Scala code.Henry Saputra2013-11-194-5/+5
| |/ | | | | | | | | | | | | Also remove unused imports as I found them along the way. Remove return statements when returning value in the Scala code. Passing compile and tests.
* | Merge branch 'scala210-master' of github.com:colorant/incubator-spark into ↵Prashant Sharma2013-11-218-24/+244
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | scala-2.10 Conflicts: core/src/main/scala/org/apache/spark/deploy/client/Client.scala core/src/main/scala/org/apache/spark/deploy/worker/Worker.scala core/src/main/scala/org/apache/spark/executor/CoarseGrainedExecutorBackend.scala core/src/test/scala/org/apache/spark/MapOutputTrackerSuite.scala
| * | Merge branch 'master' into scala-2.10Raymond Liu2013-11-138-24/+244
| |\|
| | * fix sparkhdfs lr testtgravescs2013-10-291-1/+2
| | |
| | * Makes Spark SIMR ready.Ali Ghodsi2013-10-241-1/+1
| | |
| | * Merge pull request #64 from prabeesh/masterMatei Zaharia2013-10-231-0/+107
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MQTT Adapter for Spark Streaming MQTT is a machine-to-machine (M2M)/Internet of Things connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. You may read more about it here http://mqtt.org/ Message Queue Telemetry Transport (MQTT) is an open message protocol for M2M communications. It enables the transfer of telemetry-style data in the form of messages from devices like sensors and actuators, to mobile phones, embedded systems on vehicles, or laptops and full scale computers. The protocol was invented by Andy Stanford-Clark of IBM, and Arlen Nipper of Cirrus Link Solutions This protocol enables a publish/subscribe messaging model in an extremely lightweight way. It is useful for connections with remote locations where line of code and network bandwidth is a constraint. MQTT is one of the widely used protocol for 'Internet of Things'. This protocol is getting much attraction as anything and everything is getting connected to internet and they all produce data. Researchers and companies predict some 25 billion devices will be connected to the internet by 2015. Plugin/Support for MQTT is available in popular MQs like RabbitMQ, ActiveMQ etc. Support for MQTT in Spark will help people with Internet of Things (IoT) projects to use Spark Streaming for their real time data processing needs (from sensors and other embedded devices etc).
| | | * Update MQTTWordCount.scalaPrabeesh K2013-10-221-6/+1
| | | |
| | | * Update MQTTWordCount.scalaPrabeesh K2013-10-221-3/+4
| | | |
| | | * Update MQTTWordCount.scalaPrabeesh K2013-10-181-15/+14
| | | |
| | | * added mqtt adapter wordcount exampleprabeesh2013-10-161-0/+112
| | | |
| | * | Merge pull request #56 from jerryshao/kafka-0.8-devMatei Zaharia2013-10-212-13/+113
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade Kafka 0.7.2 to Kafka 0.8.0-beta1 for Spark Streaming Conflicts: streaming/pom.xml
| | | * | Upgrade Kafka 0.7.2 to Kafka 0.8.0-beta1 for Spark Streamingjerryshao2013-10-122-13/+113
| | | | |
| | * | | BroadcastTest2 --> BroadcastTestMosharaf Chowdhury2013-10-162-62/+12
| | | | |
| | * | | Default blockSize is 4MB.Mosharaf Chowdhury2013-10-161-0/+59
| | | | | | | | | | | | | | | | | | | | BroadcastTest2 example added for testing broadcasts.
| | * | | Fixing spark streaming example and a bug in examples build.Patrick Wendell2013-10-151-4/+9
| | |/ / | | | | | | | | | | | | | | | | | | | | - Examples assembly included a log4j.properties which clobbered Spark's - Example had an error where some classes weren't serializable - Did some other clean-up in this example
| | * / Remove unnecessary mutable importsNeal Wiggins2013-10-111-2/+0
| | |/
* | / Remove deprecated actorFor and use actorSelection everywhere.Prashant Sharma2013-11-121-1/+1
|/ /
* | fixed some warningsMartin Weindel2013-10-054-5/+3
| |
* | Akka 2.2 migrationPrashant Sharma2013-09-222-4/+6
| |
* | Merged with masterPrashant Sharma2013-09-0658-324/+1946
|\|
| * Add missing license headers found with RATMatei Zaharia2013-09-021-0/+17
| |
| * Move some classes to more appropriate packages:Matei Zaharia2013-09-015-13/+11
| | | | | | | | | | | | * RDD, *RDDFunctions -> org.apache.spark.rdd * Utils, ClosureCleaner, SizeEstimator -> org.apache.spark.util * JavaSerializer, KryoSerializer -> org.apache.spark.serializer
| * Initial work to rename package to org.apache.sparkMatei Zaharia2013-09-0152-213/+213
| |
| * Fix finding of assembly JAR, as well as some pointers to ./runMatei Zaharia2013-08-298-13/+13
| |
| * Change build and run instructions to use assembliesMatei Zaharia2013-08-293-0/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes Spark invocation saner by using an assembly JAR to find all of Spark's dependencies instead of adding all the JARs in lib_managed. It also packages the examples into an assembly and uses that as SPARK_EXAMPLES_JAR. Finally, it replaces the old "run" script with two better-named scripts: "run-examples" for examples, and "spark-class" for Spark internal classes (e.g. REPL, master, etc). This is also designed to minimize the confusion people have in trying to use "run" to run their own classes; it's not meant to do that, but now at least if they look at it, they can modify run-examples to do a decent job for them. As part of this, Bagel's examples are also now properly moved to the examples package instead of bagel.
| * make SparkHadoopUtil a member of SparkEnvJey Kottalam2013-08-151-2/+1
| |
| * Merge pull request #762 from shivaram/sgd-cleanupEvan Sparks2013-08-111-0/+85
| |\ | | | | | | Refactor SGD options into a new class.
| | * Add setters for optimizer, gradient in SGD.Shivaram Venkataraman2013-08-081-1/+1
| | | | | | | | | | | | Also remove java-specific constructor for LabeledPoint.
| | * Merge branch 'master' of git://github.com/mesos/spark into sgd-cleanupShivaram Venkataraman2013-08-061-0/+116
| | |\ | | | | | | | | | | | | | | | | Conflicts: mllib/src/main/scala/spark/mllib/util/MLUtils.scala
| | * | Refactor GLM algorithms and add Java testsShivaram Venkataraman2013-08-061-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds Java examples and unit tests for all GLM algorithms to make sure the MLLib interface works from Java. Changes include - Introduce LabeledPoint and avoid using Doubles in train arguments - Rename train to run in class methods - Make the optimizer a member variable of GLM to make sure the builder pattern works
| * | | Fixed path to JavaALS.java and JavaKMeans.java, fixed hadoop2-yarn profileAlexander Pivovarov2013-08-102-0/+0
| | | |
| * | | Optimize Scala PageRank to use reduceByKeyMatei Zaharia2013-08-101-8/+4
| | | |
| * | | Merge pull request #789 from MLnick/masterMatei Zaharia2013-08-101-0/+50
| |\ \ \ | | | | | | | | | | Adding Scala version of PageRank example
| | * | | Style changes as per Matei's commentsNick Pentreath2013-08-081-9/+8
| | | | |
| | * | | Adding Scala version of PageRank exampleNick Pentreath2013-08-071-0/+51
| | | |/ | | |/|
| * | | Merge pull request #786 from shivaram/mllib-javaMatei Zaharia2013-08-092-0/+168
| |\ \ \ | | | | | | | | | | Java fixes, tests and examples for ALS, KMeans
| | * | | Remove Java-specific constructor for Rating.Shivaram Venkataraman2013-08-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The scala constructor works for native type java types. Modify examples to match this.
| | * | | Java examples, tests for KMeans and ALSShivaram Venkataraman2013-08-062-0/+168
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Changes ALS to accept RDD[Rating] instead of (Int, Int, Double) making it easier to call from Java - Renames class methods from `train` to `run` to enable static methods to be called from Java. - Add unit tests which check if both static / class methods can be called. - Also add examples which port the main() function in ALS, KMeans to the examples project. Couple of minor changes to existing code: - Add a toJavaRDD method in RDD to convert scala RDD to java RDD easily - Workaround a bug where using double[] from Java leads to class cast exception in KMeans init
| * / / Optimize JavaPageRank to use reduceByKey instead of groupByKeyMatei Zaharia2013-08-081-9/+8
| |/ /
| * | Got rid of unnecessary map functionstayhf2013-08-061-6/+2
| | |
| * | changes as reviewer requestedstayhf2013-08-061-10/+1
| | |
| * | Updated code with reviewer's suggestionsstayhf2013-08-051-47/+47
| | |
| * | Simple PageRank algorithm implementation in Java for SPARK-760stayhf2013-08-031-0/+129
| |/