Platform logs that an Operator has requested shutdown, below is the message.
logger.debug("Shutdown requested by the operator when alive = {}.", alive);
Specific message is left to the business logic of an operator, it can log
before throwing the ShutdownException.
On Mon, Jul 18, 2016 at 11:56
I would like the error to show up in the logs as an exception. Additionally I
would like the error to be displayed with some helpful information such as why
the application is being shutdown.
On 2016-07-18 13:14 (-0400), Sandesh Hegde
mailto:s...@datatorrent.com>> wrote:
> What is the outcome y
What is the outcome you are expecting from the "true exception" ?
On Mon, Jul 18, 2016 at 10:11 AM Silver, Michael <
michael.sil...@capitalone.com> wrote:
> I looked into the ShutdownException. My only concern is that I want the
> exception to be treated like a true error/exception and according
I looked into the ShutdownException. My only concern is that I want the
exception to be treated like a true error/exception and according to the docs
it is not treated as such.
/**
* The operator should throw the following exception if it wants to gracefully
conclude its operation.
* This except
Hi,
Please see a sample here,
https://github.com/apache/apex-malhar/blob/3ce83708f795b081d564be357a8333928154398e/library/src/test/java/com/datatorrent/lib/testbench/SeedEventGeneratorTest.java
Thanks,
Dev
On Mon, Jul 18, 2016 at 10:08 AM, hsy...@gmail.com wrote:
> He Michael,
>
> You can thr
He Michael,
You can throw a ShutdownException.
Siyuan
On Mon, Jul 18, 2016 at 10:06 AM, Silver, Michael <
michael.sil...@capitalone.com> wrote:
>
>
>
>
> Hello,
>
>
>
> I am looking for a solution to force shutdown or fail my application. I
> have an operator that checks that a file (which is n