tree: c0b1c978ad526fb0eac183d934c4b3f8a19abf99 [path history] [tgz]
  1. quickstart-java/
  2. quickstart-scala/
  3. pom.xml
  4. quickstart-scala-SNAPSHOT.sh
  5. quickstart-scala.sh
  6. quickstart-SNAPSHOT.sh
  7. quickstart.sh
  8. README.md
stratosphere-quickstart/README.md

stratosphere-quickstart

Two simple quickstart maven archetypes for Stratosphere.

Stratosphere Stable

###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:

Eclipse 3.7:

###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

Stratosphere SNAPSHOT Archetypes

Repository Organization

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

Manually:

mvn archetype:generate                              \
   -DarchetypeGroupId=eu.stratosphere               \
   -DarchetypeArtifactId=quickstart-java-SNAPSHOT           \
   -DarchetypeVersion=0.5-SNAPSHOT                  \
   -DarchetypeCatalog=https://oss.sonatype.org/content/repositories/snapshots/

Scala:

curl https://raw.github.com/stratosphere/stratosphere-quickstart/master/quickstart-scala-SNAPSHOT.sh | bash

Build Status

(Use -DarchetypeCatalog=local for local testing during archetype development)