Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I got an answer from the <a href="http://groups.google.com/group/cascading-user/browse_thread/thread/e77f3ccbf56c613" rel="nofollow">mailing list</a> on this. </p> <p>Changing it to this works:</p> <pre><code>assembly = new Each( assembly, new Fields( "line" ), function ); // simpler debug statement assembly = new Each( assembly, new Debug("hello", true) ); assembly = new GroupBy( assembly, new Fields( "word" ) ); </code></pre> <p>That outputs this in the jobdetails UI under stderr:</p> <pre><code>Task Logs: 'attempt_201203131143_0028_m_000000_0' stdout logs stderr logs 2012-03-13 16:21:41.304 java[78617:1903] Unable to load realm info from SCDynamicStore hello: ['word'] hello: ['CYMBELINE'] &lt;SNIP&gt; </code></pre> <p>I had tried this directly from the docs, and that doesn't work for me (even though I've also set the FlowConnector debugLevel to VERBOSE):</p> <pre><code>assembly = new Each( assembly, DebugLevel.VERBOSE, new Debug() ); </code></pre> <p>It seems that it's something related to the DebugLevel.VERBOSE from the documentation as when I try this, I still get no output:</p> <pre><code>assembly = new Each( assembly, DebugLevel.VERBOSE, new Debug("hello", true) ); </code></pre> <p>Changing it to remove the DebugLevel also gives me output</p> <pre><code>assembly = new Each( assembly, new Debug() ); </code></pre> <p>I can also get it to switch to stdout by doing this:</p> <pre><code>assembly = new Each( assembly, new Debug(Debug.Output.STDOUT) ); </code></pre> <p>I'm betting there's still something I've got misconfigured with the <code>VERBOSE</code> log level stuff, or 1.2.6 doesn't match the documentation anymore, but at least now I can see the output in the logs.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload