Two simple quickstart maven archetypes for Stratosphere.
###Create an empty Java Stratosphere Job Project Maven is required
curl https://raw.github.com/stratosphere/stratosphere-quickstart/master/quickstart.sh | bash
###Create a simple scala Stratosphere Job Project Maven is required
curl https://raw.github.com/stratosphere/stratosphere-quickstart/master/quickstart-scala.sh | bash
When you import the scala project into eclipse you will also need the following plugins:
Eclipse 4.x:
- scala-ide: http://download.scala-ide.org/sdk/e38/scala210/stable/site
- m2eclipse-scala: http://alchim31.free.fr/m2e-scala/update-site
- build-helper-maven-plugin: https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.15.0/N/0.15.0.201206251206/
Eclipse 3.7:
- scala-ide: http://download.scala-ide.org/sdk/e37/scala210/stable/site
- m2eclipse-scala: http://alchim31.free.fr/m2e-scala/update-site
- build-helper-maven-plugin: https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.14.0/N/0.14.0.201109282148/
###Generate project manually: using this command. This call will ask you to name your newly created Job.
mvn archetype:generate \
-DarchetypeGroupId=eu.stratosphere \
-DarchetypeArtifactId=quickstart-java \
-DarchetypeVersion=0.4
###Generate scala project manually: using this command. This call will ask you to name your newly created Job.
mvn archetype:generate \
-DarchetypeGroupId=eu.stratosphere \
-DarchetypeArtifactId=quickstart-scala \
-DarchetypeVersion=0.4
The quickstart bash scripts do not necessarily point to the most recent version in the code. Since the archetypes are versioned, the quickstarts usually differ by pointing to a specific version.
The quickstart.sh
script always points to the current stable release (v0.4, v0.5)
-SNAPSHOT
points to the current snapshot version.
Java:
curl https://raw.github.com/stratosphere/stratosphere-quickstart/master/quickstart-SNAPSHOT.sh | bash
Scala:
curl https://raw.github.com/stratosphere/stratosphere-quickstart/master/quickstart-scala-SNAPSHOT.sh | bash
(Use -DarchetypeCatalog=local
for local testing during archetype development)