Skip to content
Snippets Groups Projects
  1. Jan 08, 2014
    • Patrick Wendell's avatar
      Merge pull request #322 from falaki/MLLibDocumentationImprovement · bb6a39a6
      Patrick Wendell authored
      SPARK-1009 Updated MLlib docs to show how to use it in Python
      
      In addition added detailed examples for regression, clustering and recommendation algorithms in a separate Scala section. Fixed a few minor issues with existing documentation.
      bb6a39a6
    • Patrick Wendell's avatar
      Merge pull request #355 from ScrapCodes/patch-1 · cb1b9273
      Patrick Wendell authored
      Update README.md
      
      The link does not work otherwise.
      cb1b9273
    • Patrick Wendell's avatar
      Merge pull request #313 from tdas/project-refactor · c0f0155e
      Patrick Wendell authored
      Refactored the streaming project to separate external libraries like Twitter, Kafka, Flume, etc.
      
      At a high level, these are the following changes.
      
      1. All the external code was put in `SPARK_HOME/external/` as separate SBT projects and Maven modules. Their artifact names are `spark-streaming-twitter`, `spark-streaming-kafka`, etc. Both SparkBuild.scala and pom.xml files have been updated. References to external libraries and repositories have been removed from the settings of root and streaming projects/modules.
      
      2. To avail the external functionality (say, creating a Twitter stream), the developer has to `import org.apache.spark.streaming.twitter._` . For Scala API, the developer has to call `TwitterUtils.createStream(streamingContext, ...)`. For the Java API, the developer has to call `TwitterUtils.createStream(javaStreamingContext, ...)`.
      
      3.  Each external project has its own scala and java unit tests. Note the unit tests of each external library use classes of the streaming unit tests (`TestSuiteBase`, `LocalJavaStreamingContext`, etc.). To enable this code sharing among test classes, `dependsOn(streaming % "compile->compile,test->test")` was used in the SparkBuild.scala . In the streaming/pom.xml, an additional `maven-jar-plugin` was necessary to capture this dependency (see comment inside the pom.xml for more information).
      
      4. Jars of the external projects have been added to examples project but not to the assembly project.
      
      5. In some files, imports have been rearrange to conform to the Spark coding guidelines.
      c0f0155e
    • Prashant Sharma's avatar
      Update README.md · d1f28057
      Prashant Sharma authored
      The link does not work otherwise.
      d1f28057
  2. Jan 07, 2014
  3. Jan 06, 2014
Loading