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
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
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
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
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 needed for the application to run)
is present during setup. If the file is not present I want the entire
application to fail. How would I do this in apex?
Thank