pgaref commented on PR #23440: URL: https://github.com/apache/flink/pull/23440#issuecomment-2017246294
> I suppose this can work but it seems rather brittle and may obfuscate the underlying failure cause. If the reality is that multiple global failures can occur or that global failures can occur after task failures then the exception history should simply support that. The old stack got around this by just throwing away older global failures if a new one occurred, which isn't great either. > > This might be the opportunity to properly fix this. In the old days (pre source coordinators) this wasn't as pressing because global failures were rare and only triggered by the JM (which typically ensured it only happened once), but since this has changed now we should adjust accordingly. Thanks @zentol ! Opened https://issues.apache.org/jira/browse/FLINK-34922 to address properly supporting multiple Global failures in the Exception History. Also changed this PR to ignore Global failures while being in a Restarting/Canceling or Failing phase on the Adaptive scheduler -- let me know what you think -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
