Re: Query regarding exceptions API(/jobs/:jobid/exceptions)

2021-11-30 Thread Matthias Pohl
Thanks for sharing this information. I verified that it's a bug in Flink. The issue is that the Exceptions you're observing are happening while the job is initialized. We're not setting the exception history properly in that case. Matthias On Mon, Nov 29, 2021 at 2:08 PM Mahima Agarwal wrote: >

Re: Query regarding exceptions API(/jobs/:jobid/exceptions)

2021-11-29 Thread Mahima Agarwal
Hi Matthias, We have created a JIRA ticket for this issue. Please find the jira id below https://issues.apache.org/jira/browse/FLINK-25096 Thanks Mahima On Mon, Nov 29, 2021 at 2:24 PM Matthias Pohl wrote: > Thanks Mahima, > could you create a Jira ticket and, if possible, add the Flink logs?

Re: Query regarding exceptions API(/jobs/:jobid/exceptions)

2021-11-29 Thread Matthias Pohl
Thanks Mahima, could you create a Jira ticket and, if possible, add the Flink logs? That would make it easier to investigate the problem. Best, Matthias On Sun, Nov 28, 2021 at 7:29 AM Mahima Agarwal wrote: > Thanks Matthias > > But we have observed the below 2 exceptions are coming in root-exc

Re: Query regarding exceptions API(/jobs/:jobid/exceptions)

2021-11-27 Thread Mahima Agarwal
Thanks Matthias But we have observed the below 2 exceptions are coming in root-exceptions but not in exceptionHistory: caused by: java.util.concurrent.CompletionException: java.lang.RuntimeException: java.io.FileNotFoundException: Cannot find checkpoint or savepoint file/directory 'C:\Users\abc\D

Re: Query regarding exceptions API(/jobs/:jobid/exceptions)

2021-11-25 Thread Matthias Pohl
Just to add a bit of context: The first-level members all-exceptions, root-exceptions, truncated and timestamp have been around for a longer time. The exceptionHistory was added in Flink 1.13. As part of this change, the aforementioned members were deprecated (see [1]). We kept them for backwards-c

Re: Query regarding exceptions API(/jobs/:jobid/exceptions)

2021-11-25 Thread Chesnay Schepler
root-exception: The last exception that caused a job to fail. all-exceptions: All exceptions that occurred the last time a job failed. This is primarily useful for completed jobs. exception-history: Exceptions that previously caused a job to fail. On 25/11/2021 11:52, Mahima Agarwal wrote: Hi

Query regarding exceptions API(/jobs/:jobid/exceptions)

2021-11-25 Thread Mahima Agarwal
Hi Team, Please find the query below regarding exceptions API(/jobs/:jobid/exceptions) In response of above rest api: Users are getting 3 types of exceptions: 1. exceptionHistory 2. all-exceptions 3. root-exception What is the purpose of the above 3 exceptions? Any leads would be appreciat