spring-projects/spring-xd — pull request #595 by trisberg (2014-02-21 17:10:20+00:00)
Title: XD-1321 XD-1322 Creating shell scripts and support classes to start XD o...

...n YARN

- Adding new spring-xd--yarn.zip file containing spring-xd-yarn zip and
client and appmaster jars along with customization files and scripts

- Adding xd-admin and xd-container scripts for YARN

- Adding YARN Client and Appmaster implementations

- Removing directory paths from xd-yarn zip distribution

- New application.properties file can be used to override config options

To try this out:

1) install Hadoop 2.2.0 and start up dfs, yarn and historyserver
2) build xd distribution: ./gradlew clean dist -x test
- build/distributions/ should now have a spring-xd-1.0.0.BUILD-SNAPSHOT-yarn.zip
3) unzip spring-xd-1.0.0.BUILD-SNAPSHOT-yarn.zip somewhere
4) the unzipped dir (spring-xd-1.0.0.BUILD-SNAPSHOT-yarn) contains a config/xd-site.yml file with localized settings
change anything that needs to be modified (should work with defaults if hadoop runs on localhost)
5) from the unzipped dir (spring-xd-1.0.0.BUILD-SNAPSHOT-yarn) run:
./bin/xd-admin.sh
./bin/xd-container.sh
6) check that there are two apps running in YARN:
yarn application -list