[kepler-dev] [Bug 4326] New: - External Executor actor puts out an extra token when nonzero return

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Aug 21 02:49:43 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4326

           Summary: External Executor actor puts out an extra token when
                    nonzero return
           Product: Kepler
           Version: 1.0.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Kepler/CORE
          Severity: normal
          Priority: P2
         Component: actors
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: tirath at int19h.com
         QAContact: kepler-dev at kepler-project.org


If you have a external execution actor with PN director, and the external
execution actor calls a script, say...

#!/bin/sh
echo hello
exit 0

... then the output port will produce "hello" and the token count is 1. But if
the exit code is non-zero, then the output port produces an additional (empty)
token and the token count is 2. This results in downstream dataflow token
matching havoc!

It seems the spurious token is only produced on the output port, the exitCode
port is not affected.

This problem does not occur with SDF Director.


More information about the Kepler-dev mailing list