Skip to content

Comments

[FLINK-31894][runtime] ExceptionHistory and REST API failure label integration#22643

Merged
dmvk merged 1 commit intoapache:masterfrom
pgaref:FLINK-31894
Jun 2, 2023
Merged

[FLINK-31894][runtime] ExceptionHistory and REST API failure label integration#22643
dmvk merged 1 commit intoapache:masterfrom
pgaref:FLINK-31894

Conversation

@pgaref
Copy link
Contributor

@pgaref pgaref commented May 24, 2023

https://issues.apache.org/jira/browse/FLINK-31894

  • Introduce FailureLabel class as a KV string container
  • Add support for failure labels on JobExceptionsInfoWithHistory
  • Extend JobExceptionsHandler to support failureLabelFilter
  • Extend JobExceptionsHandlerTest to validate functionality

@flinkbot
Copy link
Collaborator

flinkbot commented May 24, 2023

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@pgaref pgaref force-pushed the FLINK-31894 branch 3 times, most recently from 1293958 to 4d44543 Compare May 26, 2023 06:28
@dmvk dmvk self-requested a review May 31, 2023 10:53
@dmvk
Copy link
Member

dmvk commented May 31, 2023

The biggest question I have is whether the filters are supposed to be ANDed or ORed 🤔 Right now if a single filter matches we keep the exception.

@pgaref
Copy link
Contributor Author

pgaref commented Jun 1, 2023

The biggest question I have is whether the filters are supposed to be ANDed or ORed 🤔 Right now if a single filter matches we keep the exception.

Thanks @dmvk !

  • Changed this to ANDed filter returning Exceptions with all provided filters -- users can always get all Exception by avoiding the filter parameter.
  • Introduced FailureLabel container for KV tuples -- FailureEnrichers will also be updated with that as a follow up

PTAL

Copy link
Member

@dmvk dmvk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 good job; let's just get rid of the separate FailureLabel class as discussed offline

…tegration

* Introduce FailureLabel class as a KV string container
* Add support for failure labels on JobExceptionsInfoWithHistory
* Extend JobExceptionsHandler to support `failureLabelFilter`
* Extend JobExceptionsHandlerTest to validate functionality
@pgaref
Copy link
Contributor Author

pgaref commented Jun 1, 2023

👍 good job; let's just get rid of the separate FailureLabel class as discussed offline

Thanks much @dmvk ! Updated :)

@dmvk dmvk merged commit 28c20ad into apache:master Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants