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-compatibility reasons.
That said, root-exception and all-exceptions are also represented in the exceptionHistory. Matthias [1] https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/#jobs-jobid-exceptions On Thu, Nov 25, 2021 at 12:14 PM Chesnay Schepler <ches...@apache.org> wrote: > 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 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 appreciated. > > Thanks > Mahima > > >