apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doyle, Austin O." <Austin.O.Doyl...@leidos.com>
Subject RE: Apex Finished Status
Date Thu, 11 Aug 2016 12:00:52 GMT
The ShutdownException does stop the operator but doesn’t seem to update the state of the
application, still in the RUNNING state.  Is there something specific I need to put in the
endwindows or teardowns?

From: Chinmay Kolhatkar [mailto:chinmay@datatorrent.com]
Sent: Thursday, August 11, 2016 2:12 AM
To: users@apex.apache.org
Subject: Re: Apex Finished Status

Just one additional information to what Sandesh said. ShutdownException shuts down the operator
from which its thrown and all downstream operators to that operator.
Hence if you want the DAG to shutdown completely, you need to throw ShutdownException from
all *input* operators.


On Thu, Aug 11, 2016 at 9:58 AM, Sandesh Hegde <sandesh@datatorrent.com<mailto:sandesh@datatorrent.com>>
Hello Austin,

Throwing ShutdownException  from the operators will shutdown the Apex Application.

On Wed, Aug 10, 2016 at 8:56 AM Doyle, Austin O. <Austin.O.Doyle-2@leidos.com<mailto:Austin.O.Doyle-2@leidos.com>>
When would an Apex Application return a FINISHED status from YARN as opposed to continually
being in the RUNNING state?
Is there a way to force the YARN status to FINISHED from within the application when processing
is complete?

View raw message