PDA

View Full Version : Example code



dkincaid
May 5th, 2012, 08:08 AM
Does anyone know where there is some sample code that shows how to use Spring-Hadoop to create Cascading jobs? Chapter 7 of the guide has some info, but I can't seem to understand what their HadoopFlowFactoryBean should look like.

Costin Leau
May 8th, 2012, 04:55 AM
Hi,

There are some tests in the trunk (in fact the docs are based on that). We could add some for a future release - in fact I've raised an issue here: https://jira.springsource.org/browse/SHDP-61

In the meantime, have you looked at the javadocs? Anything that I can help you with?

Costin Leau
May 8th, 2012, 04:57 AM
By the way, here are the relevant classes in github: http://j.mp/IEZOuS and the test configuration http://j.mp/IEZSL8

dkincaid
May 8th, 2012, 08:54 AM
Ha! Thanks, Costin. My friend Kyrill told me to go look at the code too when I was talking to him about it. I appreciate the help and will go do that.