I'm new to cascading, and I'm having trouble getting the `Debug`
output working. I'm using the WordCount example from the "Diving In"
section in the cascading user guide. The example works great, but
when I put a Debug statement in the flow, I'm not getting any output
in the stdout section in the jobtracker UI.
assembly = new Each( assembly, new Fields( "line" ),
function );
Debug debug = new Debug(Debug.Output.STDOUT, true);
debug.setPrintTupleEvery(1);
debug.setPrintFieldsEvery(1);
assembly = new Each( assembly, DebugLevel.VERBOSE, debug );
// group the Tuple stream by the "word" value
assembly = new GroupBy( assembly, new Fields( "word" ) );
...
FlowConnector flowConnector = new FlowConnector();
FlowConnector.setDebugLevel( properties, DebugLevel.VERBOSE );
Flow flow = flowConnector.connect( "word-count", source, sink,
assembly );
I'm following the example in the user guide:
http://www.cascading.org/1.2/userguide/html/ch07s02.html
When I run a regular map reduce based WordCount example, and put in a
`System.out.println`, I do see output, so it appears to be a cascading
related thing I'm doing wrong.
I put a bunch of detail in this stackoverflow question:
http://stackoverflow.com/questions/9691005/how-can-i-get-hadoop-with-cascading-to-show-me-debug-log-output
Any help is appreciated.
Thanks,
Ted
P.S. I've looked at some of the other Debug problem related threads on
the usergroup, but didn't get any further with those:
http://groups.google.com/group/cascading-user/browse_thread/thread/4f2327d64a14d7b1/b3cc99849685f047
and
http://groups.google.com/group/cascading-user/browse_thread/thread/58ec83577b8eb5be/2c27c92ca8cc6eae