instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__flink-connector-kafka__119
apache/flink-connector-kafka
119
defect
7929b16dcfe648da30b6cc9755f63de2ed3d5319
0454a0f077886f915caa9d2f06c01acb394653f7
[FLINK-36278] Reduce log size
Currently, container logs appear under an o.a.f logger and thus are visible on CI. This results in compressed log size >40MB for a run and often leads to download errors. This PR reroutes container logs to a special container logger. It also uses a custom format to significantly reduce the size of each log line. The...
diff --git a/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/src/test/java/org/apache/flink/tests/util/kafka/SQLClientSchemaRegistryITCase.java b/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/src/test/java/org/apache/flink/tests/util/kafka/SQLClientSchemaRegistryITCase.java ind...
3
3
1
[{"id": "G0", "claim": "The PR may not fix the log-size issue: on the current test failures the log size is still 50MB+ despite the PR's changes.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The getLogger(String type, Class<?>) API of KafkaUtil sh...
null
apache__flink-connector-kafka__130
apache/flink-connector-kafka
130
defect
0fed445e80149fb44c51d54054411a0e7107614b
583458305f82b6e800df4d971b4ff7cd997d2e36
[FLINK-34466] Lineage interfaces for kafka connector
[FLINK-31275](https://issues.apache.org/jira/browse/FLINK-31275) is aiming to provide native lineage support in Flink's codebase with custom job listeners that get notified about job state changes as well as lineage graph extracted. As a part of that, lineage interfaces introduced in [FLINK-33210](https://issues.apache...
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/lineage/LineageFacetProvider.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/lineage/LineageFacetProvider.java new file mode 100644 index 0000000000..c7ac8533aa --- /dev/null +++ b/flink-connector-kafka/src/mai...
8
8
3
[{"id": "G0", "claim": "The new LineageFacetProvider interface should live in flink-core rather than in the kafka connector.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new lineage APIs should use Collection rather than List where a List gives use...
null
apache__flink-connector-kafka__138
apache/flink-connector-kafka
138
defect
59baacccdc4f58ac6a0511ccda79050b16341d00
f1e01e9eaa7e24fda4ccf212ac075b4c16b0a926
[FLINK-36821] Update to Kafka 3.9.0
Currently, the Flink Kafka Connector uses Kafka client version 3.4.0. This has a medium severity vulnerability ([CVE-2024-31141](https://nvd.nist.gov/vuln/detail/CVE-2024-31141)) and needs to be upgraded to >= 3.8.0 to address it. 3.9.0 is the most recently released version and between that and 3.4.0 there have b...
diff --git a/flink-connector-kafka/archunit-violations/86dfd459-67a9-4b26-9b5c-0b0bbf22681a b/flink-connector-kafka/archunit-violations/86dfd459-67a9-4b26-9b5c-0b0bbf22681a index 07efd19a9a..2544a75214 100644 --- a/flink-connector-kafka/archunit-violations/86dfd459-67a9-4b26-9b5c-0b0bbf22681a +++ b/flink-connector-kafk...
2
1
0
[{"id": "G0", "claim": "The new clientInstanceId override in FlinkKafkaInternalProducer seems unrelated to the version change; if it is related, a unit test should be added for it.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the 3.9.0 Ka...
null
apache__flink-connector-kafka__151
apache/flink-connector-kafka
151
defect
727327df7f0f2358c03e85022eae20079290a847
d8da7f342eef9e1eb78039851ad431602115ff31
[FLINK-37281] Improve sink tests
Changes (test-only) Refactor KafkaSinkITCase KafkaSinkITCase's assertions are intermixed with operations making it hard to reason about the state and also introducing some flakiness in edge cases. Improve extensibility in KafkaWriterTestBase To test recovery in future PRs, it's important to decompose the ...
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/TransactionsToAbortChecker.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/TransactionsToAbortChecker.java deleted file mode 100644 index 2d79b35065..0000000000 --- a/flink-connector-kafka/src/main/ja...
2
2
0
[{"id": "G0", "claim": "The PR adds a second pair of static @BeforeAll/@AfterAll methods whose ordering relative to the existing setupAdmin/teardownAdmin is not clearly guaranteed, so the lifecycle functions should be merged to avoid any confusion.", "category": "maintainability", "verdict": "supported", "priority": "P...
null
apache__flink-connector-kafka__159
apache/flink-connector-kafka
159
defect
33d0022449601a69c20169268dcf6e1439830126
f5d5f2dc5a01772780f5f33e68b2cc052d34df4a
[FLINK-37356] Recreate producer on error
Reusing a producer in erroneous state can result in further issues that are outside the planned state machine.
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/ExactlyOnceKafkaWriter.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/ExactlyOnceKafkaWriter.java index 4cf385fca6..667a4b20ba 100644 --- a/flink-connector-kafka/src/main/java/org/apache/flink/connec...
3
2
0
[{"id": "G0", "claim": "The new test assertions that compare a boolean expression (committer.getCommittingProducer() == null, firstProducer == writer.getCurrentProducer()) to a flag should be rewritten as explicit, separate assertions (e.g. isNull()/isNotNull()) so the test intent is clearer.", "category": "testing", "...
null
apache__flink-connector-kafka__166
apache/flink-connector-kafka
166
defect
2b199b0cc2ee84c10558b12b30094a6e37dceafe
6c2469b19466649d3c5b13589c9e6c7077fdc6f7
[FLINK-37622] Fix KafkaSink in BATCH
Since BATCH doesn't call snapshotState(), we never rotate the producer in batch mode. Hence, on closing the producer in the write failover region, we also abort the ongoing transaction. The committer in the next region is then failing. This commit generalizes the client side transaction state machine and adds a new ...
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/ExactlyOnceKafkaWriter.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/ExactlyOnceKafkaWriter.java index c7aee3c44e..6b54c4ec21 100644 --- a/flink-connector-kafka/src/main/java/org/apache/flink/connec...
2
1
0
[{"id": "G0", "claim": "Relying on enum ordering in hasRecordsInTransaction to determine whether records exist in the transaction is unclear to future maintainers and easy to break with no unit test guarding it; it should be replaced with an explicit equality check and/or an explanatory comment.", "category": "maintain...
null
apache__flink-connector-kafka__187
apache/flink-connector-kafka
187
defect
ecedd632bbf86d333f376374d4674e79e2f614b8
3019fbb9c8266ff238c92092dd8878e03a1a8054
[FLINK-38289] Update to Flink 2.1
This PR updates the Flink version to 2.1.0. The main issue with this update is that Flink has [removed](https://github.com/apache/flink/pull/26784) (without deprecating first) the `stripRowPrefix` method from the `DataTypeUtilsTest` class. So this PR adds that logic into a util class within the connector. Also...
diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index e4bd1e5e7f..4e5e9365f0 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -28,7 +28,7 @@ jobs: compile_and_test: strategy: matrix: - flink: [ 2.0.0 ] + flink: [ 2.1.0 ] j...
1
1
1
[{"id": "G0", "claim": "Please run spotless on the code, whose added lines do not conform to the project's spotless formatting.", "category": "maintainability", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__flink-connector-kafka__192
apache/flink-connector-kafka
192
defect
032c9dd7f94f3acb860c1e1d2e69a0513373bc2e
1901c99f333ae54723dc1d1d8d4f7891c682dc98
[FLINK-38453] Add full splits to KafkaSourceEnumState
KafkaEnumerator's state contains the TopicPartitions only but not the offsets, so it doesn't contain the full split state contrary to the design intent. There are a couple of issues with that approach. It implicitly assumes that splits are fully assigned to readers before the first checkpoint. Else the enumerator wi...
diff --git a/flink-connector-kafka/archunit-violations/c0d94764-76a0-4c50-b617-70b1754c4612 b/flink-connector-kafka/archunit-violations/c0d94764-76a0-4c50-b617-70b1754c4612 index 236fade3d2..0866878013 100644 --- a/flink-connector-kafka/archunit-violations/c0d94764-76a0-4c50-b617-70b1754c4612 +++ b/flink-connector-kafk...
6
3
2
[{"id": "G0", "claim": "The serializer tests should also cover splits with a real-world offset (e.g. 123) instead of only the constant starting offset.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "testAddSplitsBack verifies that the offset is recalcul...
null
apache__flink-connector-kafka__208
apache/flink-connector-kafka
208
defect
3370960901a4034e48579e8024b0b843dec34b80
afc35df1ac5a766d45679a051d0f402c6be523d8
[FLINK-38869] InitializationContext for KafkaSubscriber
Allow `org.apache.flink.connector.kafka.source.enumerator.subscriber.KafkaSubscriber` to be passed an initialization context via an `open(InitializationContext initializationContext)` lifecycle method, and a counterpart `close()`, To be able to configure it later with KafkaSourceEnumerator level properties.
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/enumerator/KafkaSourceEnumerator.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/enumerator/KafkaSourceEnumerator.java index c811f176b..61c64e12b 100644 --- a/flink-connector-kafka/src/main/java/o...
2
2
2
[{"id": "G0", "claim": "The pull request adds public API to the @PublicEvolving KafkaSubscriber interface (the open/close lifecycle methods and InitializationContext) without a FLIP, so a FLIP should be introduced for this public API change.", "category": "process", "verdict": "supported", "priority": "P1", "scope": "i...
null
apache__flink-connector-kafka__213
apache/flink-connector-kafka
213
defect
20ca57d7efdcca52b5ce44afbccc1e7ad66ff82b
f5685fa9feaaf5364d6ccdf659158f0895cf2a57
[FLINK-38937] Introduce TestKafkaContainer wrapper to support Confluent and Apache Kafka images with KRaft
This PR replaces the deprecated `org.testcontainers.containers.KafkaContainer` with a new `TestKafkaContainer` wrapper that supports both Confluent Platform and Apache Kafka official images in KRaft mode (without Zookeeper). **Key benefits:** - **No Zookeeper dependency**: Uses KRaft mode, removes the need for ...
diff --git a/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/pom.xml b/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/pom.xml index acc72be67..4ff70b8ea 100644 --- a/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/pom.xml +++ b/flink-connector-kafka-e2e-tests...
3
2
0
[{"id": "G0", "claim": "The external-system fields should not use a raw DefaultContainerizedExternalSystem (with suppressed rawtypes/unchecked warnings) in KafkaSinkE2ECase and KafkaSourceE2ECase; the reviewer asks whether some superclass/interface could be used instead.", "category": "maintainability", "verdict": "sup...
null
apache__flink-connector-kafka__229
apache/flink-connector-kafka
229
defect
a9d2f77a7bb2c0bab58c55da9fa3154dd740cd7b
10a90f89207532d5495610cb81b98d15171b471a
[FLINK-29245] Remove unused RetryRule
`RetryRule` was originally used with JUnit 4's `@Rule` to retry flaky tests in subclasses that had `@Test` methods. While there is a JUnit 5 equivalent (`RetryExtension`) which exists and works, it would have no effect here: the only classes extending `KafkaTestBase` are utility/abstract classes without test methods...
diff --git a/flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestBase.java b/flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestBase.java index a2774ac76..dfa5d1dcd 100644 --- a/flink-connector-kafka/src/test/java/org/apache/flink/streaming/conn...
2
1
0
[{"id": "G0", "claim": "Since tests inheriting from KafkaTestBase are known to be unstable due to the test setup, the PR should consider options to stabilize the setup to avoid future flakiness (e.g. add setup tests for the inheriting utility classes like KafkaSourceTestEnv, or alternatively retry on the real test clas...
null
apache__flink-connector-kafka__240
apache/flink-connector-kafka
240
defect
8eab7c941c1f60ae59c4aa45ba4bd7847018e642
337f442f0389863891d823e1bf2435799f66fa11
[FLINK-39238] Support watermark alignment in dynamic Kafka reader
Flink source ingestion is with watermark alignment config like `scan.watermark.alignment.max-drift`. The operator would then control - checkWatermarkAlignment for whole reader - checkSplitWatermarkAlignment for the split reader In dynamic Kafka source mode, the split reader pause/resume is missed (`pauseOrResume...
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/dynamic/source/reader/DynamicKafkaSourceReader.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/dynamic/source/reader/DynamicKafkaSourceReader.java index 660342df7..7d11ee3d0 100644 --- a/flink-connector-kafka/s...
4
4
0
[{"id": "G0", "claim": "Move the new pause/resume tests out of their own file and into the conventional DynamicKafkaSourceReaderTest.java test class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log line in pauseOrResumeSplits is debug-lev...
null
apache__flink-connector-kafka__28
apache/flink-connector-kafka
28
defect
fc526a8136f58a5a3c71f2c2605ba0e373114303
8bcf6769335cfe2acf5864bd1d0f155d265b60c6
[FLINK-32019][Connector/Kafka] EARLIEST offset strategy for partitions discoveried later based on FLIP-288
### What is the purpose of the change As described in [[FLIP-288](https://cwiki.apache.org/confluence/display/FLINK/FLIP-288%3A+Enable+Dynamic+Partition+Discovery+by+Default+in+Kafka+Source)](https://cwiki.apache.org/confluence/display/FLINK/FLIP-288%3A+Enable+Dynamic+Partition+Discovery+by+Default+in+Kafka+Source),...
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/KafkaSource.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/KafkaSource.java index 7a17b1ff6f..70cb756faf 100644 --- a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/K...
15
15
0
[{"id": "G0", "claim": "The KafkaSourceEnumState constructor parameters should be named `assignedPartitions` and `unassignedInitialPartitions` instead of `assignPartitions` and `unAssignInitialPartitions`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
apache__flink-connector-kafka__8
apache/flink-connector-kafka
8
defect
0b2bf49f43d8c8c9e36bee4a403dcdc9b91f1a34
91de0a386b92c1eb80700cb35488f74578f870e3
[FLINK-31319][connectors/kafka] Fix kafka new source partitionDiscoveryIntervalMs=0 cause bounded source can not quit
## What is the purpose of the change Fix error kafka partitionDiscoveryIntervalMs checking for noMoreNewSplits. This PR has been approved in [PR-22901](https://github.com/apache/flink/pull/22091) just because kafka connector will be migrated from Flink main repo since 1.18 to here, so recreate it and close previous...
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/enumerator/KafkaSourceEnumerator.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/enumerator/KafkaSourceEnumerator.java index 9cf233c502..137f42043d 100644 --- a/flink-connector-kafka/src/main/java...
2
2
1
[{"id": "G0", "claim": "In the new test testRunWithPeriodicPartitionDiscoveryOnceToCheckNoMoreSplit, partition discovery is never executed, so runPeriodicPartitionDiscovery must be called at least once before the assertion that noMoreNewPartitionSplits is false.", "category": "testing", "verdict": "supported", "priorit...
null
apache__flink-connector-kafka__90
apache/flink-connector-kafka
90
defect
15f2662eccf461d9d539ed87a78c9851cd17fa43
5617ee8092afa4d1a05c8b4c72d503d8b0a61ee5
[FLINK-35007] Add support for Flink 1.19
This also includes dropping the weekly tests for the `v3.0` branch, since `v3.1` has been released and that's our main version going forward.
diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index 20a666606c..7f30c691e5 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -30,7 +30,7 @@ jobs: include: - flink: 1.18.1 jdk: '8, 11, 17' - - flink: 1.19-SNAPSHOT + ...
1
1
1
[{"id": "G0", "claim": "The switch from `flink-conf.yaml` to `config.yaml` in pyflink_gateway_server.py needs a fallback to `flink-conf.yaml` for older Flink versions.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__flink-connector-kafka__97
apache/flink-connector-kafka
97
defect
369e7be46a70fd50d68746498aed82105741e7d6
6becb862ec749fc91aafaa91f625d084a22320dc
[FLINK-35228][Connectors/Kafka] Fix: DynamicKafkaSource does not read re-added topic for the same cluster
Saw some dormant code that was collecting `activeTopicPartitions` which got used nowhere. I believe the cleanup was already intended by the original developer, but just got lost for some reason. So I've finished up the cleanup logic and added a test case to cover the issue in question.
diff --git a/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/dynamic/source/enumerator/DynamicKafkaSourceEnumerator.java b/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/dynamic/source/enumerator/DynamicKafkaSourceEnumerator.java index e14a36d9f6..c6923133b5 100644 --- a/flink...
2
1
1
[{"id": "G0", "claim": "The changes to DynamicKafkaSourceEnumerator look like solely refactoring, so it appears the actual fix for the re-added topic issue may have been forgotten and never committed.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
apache__flink-kubernetes-operator__1018
apache/flink-kubernetes-operator
1,018
defect
d9fa47976f68148dd64c4d3180f0c5a25d3fe609
e2e5e045f2c4878f44400c9de88501a98679e850
[FLINK-37193] Feature flag if operator should manage ingress
## What is the purpose of the change This change adds a feature flag to set if the controller should manage the ingress. If set to false controller won't register the related InformerEventSource, and won't create ingress even if set in the spec. ## Brief change log - adds feature flag as described above and rela...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/FlinkOperator.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/FlinkOperator.java index e2cca03988..3e21ab456d 100644 --- a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/ope...
2
1
1
[{"id": "G0", "claim": "When ingress management is turned off, reconcileIngress silently returns even if the user has an ingress configured; it should at least log a warning and trigger an event (a reconciliation error may be too drastic).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": ...
null
apache__flink-kubernetes-operator__1019
apache/flink-kubernetes-operator
1,019
defect
7880a115ab3adc886564014a6db31edf9fa62464
94ae35a0de42b80d78d261e0f125cd9da0952fde
[FLINK-38148][FlinkService] Support Flink v1.17 when listing job exceptions
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/runtime/rest/messages/JobExceptionsInfoWithHistory.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/runtime/rest/messages/JobExceptionsInfoWithHistory.java index 7cc17dede0..8cb487c61b 100644 --- a/flink-kubernetes-operator/src/main/ja...
1
1
1
[{"id": "G0", "claim": "The new compatibility test should use a concrete exception JSON taken from a real Flink 1.17 job instead of a hand-built JobExceptionsInfoWithHistory object, because the current test does not actually guarantee compatibility with 1.17.", "category": "testing", "verdict": "supported", "priority":...
null
apache__flink-kubernetes-operator__1041
apache/flink-kubernetes-operator
1,041
defect
003e594c9a52ac67fb64ef67588291fcbc85c99e
a7215acc546bc41bc1b0a3f1911bd22680709b56
[FLINK-38517] Fixed equal check to happen after inplace modifications diffResult
## What is the purpose of the change Addresses bug when we include additional podTemplate specs, i.e "Ignored Fields" (using ReflectiveDiffBuilder.clearIgnoredFields()) in the template spec of the FlinkBlueGreenDeployment where it will never come to a conclusion / reconciled state during a Blue-Green deployment. ...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/diff/FlinkBlueGreenDeploymentSpecDiff.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/diff/FlinkBlueGreenDeploymentSpecDiff.java index f11f71c54b..acb825d721 100644 --- a/f...
1
1
0
[{"id": "G0", "claim": "The '// Case 2 & 3: Delegate to ReflectiveDiffBuilder for nested spec comparison' comment should be kept but moved, since the PR relocated the ReflectiveDiffBuilder call above the equals check and left the comment lingering next to the wrong code.", "category": "documentation", "verdict": "suppo...
null
apache__flink-kubernetes-operator__1048
apache/flink-kubernetes-operator
1,048
defect
723eb75c17e3a001e6d425c2474414c59b8baf16
cb7ed02d5899d978b46919b821872465074ffb65
[FLINK-38875] Bump Java Operator SDK to version 5.2.2
## Contribution Checklist ## What is the purpose of the change Bump Java Operator SDK to version 5.2.2 ## Verifying this change This change is a trivial rework / code cleanup without any test coverage. This change added tests and can be verified as follows: ## Does this pull request potentially ...
diff --git a/flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/TestUtils.java b/flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/TestUtils.java index f3f2e3571d..a48f41d9c9 100644 --- a/flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/Te...
1
1
1
[{"id": "G0", "claim": "Update the NOTICE file in the flink-kubernetes-operator module to reflect the bumped Java Operator SDK version.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__1049
apache/flink-kubernetes-operator
1,049
defect
eb99c5a12c6d93b9f303d8ac8d028ab28bb13689
d2fecff2265a970340c1037fc7bfce6a9ba5ec90
[FLINK-38577] Added BlueGreen active deployment ingress
[FLINK-38577] FlinkBlueGreenDeployment Stable Ingress ## What is the purpose of the change Adds parent-level ingress support to FlinkBlueGreenDeployment, enabling users to specify ingress configuration at the BlueGreen deployment level rather than only at the child FlinkDeployment level. The ingress automatically...
diff --git a/docs/content/docs/custom-resource/reference.md b/docs/content/docs/custom-resource/reference.md index 003b6495b0..98d18e7d65 100644 --- a/docs/content/docs/custom-resource/reference.md +++ b/docs/content/docs/custom-resource/reference.md @@ -89,6 +89,7 @@ This serves as a full reference for FlinkDeployment...
2
1
1
[{"id": "G0", "claim": "The author should explain whether child (FlinkDeployment-level) ingresses are still supported after the change prefixes the ingress template with the blue/green type.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The catch block ...
null
apache__flink-kubernetes-operator__1053
apache/flink-kubernetes-operator
1,053
defect
eb99c5a12c6d93b9f303d8ac8d028ab28bb13689
49c7fc9a640202bd12e0f4a4ffd4b2b2d613f329
[FLINK-38915] FlinkBlueGreenDeplomynet in place suspension handler
## What is the purpose of the change Tackles: https://issues.apache.org/jira/browse/FLINK-38915 Improve blue/green suspend/resume behavior: allow in-place suspension/resume without spawning new deployments, propagate spec changes while suspended, block suspend during transitions, and fix BG status sync bugs. #...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/api/bluegreen/BlueGreenDiffType.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/api/bluegreen/BlueGreenDiffType.java index 5581493f7e..44d2b67609 100644 --- a/flink-kubernetes-operator/src/main/...
2
1
0
[{"id": "G0", "claim": "Patching the child spec during in-place suspension may be pointless, since a RESUME command can override those changes anyway, and the reviewer asks whether the extra patch adds any benefit.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
apache__flink-kubernetes-operator__1064
apache/flink-kubernetes-operator
1,064
defect
17dc3c1518f90439b35a0479203835e3d3ec2b7b
35f32d9ee292e467f47b688bef612765379d29c0
[FLINK-33634] Add Conditions to Flink CRD's Status field
What is the purpose of the change This PR address the [FLIP](https://cwiki.apache.org/confluence/display/FLINK/FLIP-493%3A+Add+K8S+conditions+to+CRD%27s+Status) to add conditions to Flink deployment status related to issue [FLINK-33634](https://issues.apache.org/jira/browse/FLINK-33634) Brief change log Added list...
diff --git a/.gitignore b/.gitignore index 0fd15a8f2d..527bce74c8 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,6 @@ buildNumber.properties .kube # VSCode settings -.vscode/ \ No newline at end of file +.vscode/ +.metals +.bloop diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernete...
2
2
0
[{"id": "G0", "claim": "Remove the two excessive debug logs around setting conditions in FlinkDeploymentController.reconcile.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the condition is computed directly from the status, the logic can ...
null
apache__flink-kubernetes-operator__581
apache/flink-kubernetes-operator
581
defect
41f753fec40121274c8d0b27f327ffbd52500cf7
c234b92ce34684df5f75859019b809e6217ba166
[FLINK-31936] Support setting scale up max factor
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/JobVertexScaler.java b/flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/JobVertexScaler.java index f0d6a183fb..90d46a8799 100644 --- a/flink-kubernetes-operat...
6
5
2
[{"id": "G0", "claim": "Recording the capped target capacity as EXPECTED_PROCESSING_RATE will affect the ineffective scaling detection.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A unit test should be added for the changed behaviour of recording t...
null
apache__flink-kubernetes-operator__586
apache/flink-kubernetes-operator
586
defect
f23e38d6505e68535906cd6a7d77ca94fa1758e0
6255b68329f8a140be7cd9b9f7f2ebd47b0659a8
[FLINK-32002] Adjust autoscaler defaults for release
The goal is to make the make the out-of-the-box experience as smooth as possible. Hence, the defaults are adjusted to have a larger metric window, wider bounds for scaling up and down, less quick downscaling, and a maximum parallelism of 200.
diff --git a/flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/config/AutoScalerOptions.java b/flink-kubernetes-operator-autoscaler/src/main/java/org/apache/flink/kubernetes/operator/autoscaler/config/AutoScalerOptions.java index 4d496f0237..513df954e0 100644 --- a/flink...
6
3
1
[{"id": "G0", "claim": "The generated autoscaler configuration docs were not regenerated to reflect the pull request's new default values.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Raising the target utilization boundary default from 0.1 to 0...
null
apache__flink-kubernetes-operator__727
apache/flink-kubernetes-operator
727
defect
30566ed7390a4fce1dc3e239efe3c519c55aa9b1
d48745ed3c6cc74cbb6753632233243cf6c69779
[FLINK-33454] [Operator] Add IngressTls to support TLS within the managed Ingress, also add Label Passthrough
## What is the purpose of the change The managed ingress `IngressSpec` doesn't support TLS. It means that the ingress can't be used with secrets to secure the hosts. We can extend the `IngressSpec` to have `tls: List<IngressTlsSpec>`. In theory we shouldn't need a List spec here since the template only supports one ho...
diff --git a/docs/content/docs/custom-resource/reference.md b/docs/content/docs/custom-resource/reference.md index 4fc1ea255a..be06bb2ec7 100644 --- a/docs/content/docs/custom-resource/reference.md +++ b/docs/content/docs/custom-resource/reference.md @@ -96,6 +96,18 @@ This page serves as a full reference for FlinkDepl...
1
1
1
[{"id": "G0", "claim": "The PR should use io.fabric8.kubernetes.api.model.networking.v1.IngressTLS directly instead of introducing a custom IngressTlsSpec class, converting to the v1beta1 type where needed, so the spec stays aligned with Kubernetes' own ingress API.", "category": "design", "verdict": "supported", "prio...
null
apache__flink-kubernetes-operator__731
apache/flink-kubernetes-operator
731
defect
300972547cc2d4f78434a8729f85866e64505b34
75b3c50b30c9f91de30afeeea4de3eebe5e94ddf
[FLINK-33813][autoscaler] Improve time formatting for easier reading inside the autoscaler
## What is the purpose of the change [FLINK-33813][autoscaler] Improve time formatting for easier reading inside the autoscaler The default format of Instant is UTC time, it's better to format it to the corresponding Time Zone.It will be easier reading. ## Test - Added the DateTimeUtilsTest ## The log be...
diff --git a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/ScalingMetricCollector.java b/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/ScalingMetricCollector.java index 4e891f7877..a34affafc5 100644 --- a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/ScalingMetricCollector.java ++...
1
1
0
[{"id": "G0", "claim": "Instead of printing the full ZonedDateTime with the timezone shown separately, the timestamps should be simplified to look like the ones in the logs, cut to seconds precision (2023-12-13T15:20:48+08:00[Asia/Shanghai]).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "i...
null
apache__flink-kubernetes-operator__733
apache/flink-kubernetes-operator
733
defect
300972547cc2d4f78434a8729f85866e64505b34
dc125e60af1d530dfd0718a9760e25f96054490e
[FLINK-33632] Adding custom flink mutator
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/docs/content/docs/operations/plugins.md b/docs/content/docs/operations/plugins.md index b25f05590e..3abd2c3a76 100644 --- a/docs/content/docs/operations/plugins.md +++ b/docs/content/docs/operations/plugins.md @@ -124,3 +124,67 @@ That folder is added to classpath upon initialization. COPY target/$ART...
7
5
3
[{"id": "G0", "claim": "The session-target-label mutation logic for session jobs should live in the default mutator, covered by the new FlinkResourceMutator abstraction, rather than in the webhook's FlinkMutator.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
apache__flink-kubernetes-operator__744
apache/flink-kubernetes-operator
744
defect
fa938439ad8a7601462a3be268077aa4078881bc
a0068dd99bcab343203d8bd7d1a45b85acff17ad
[FLINK-33814][autoscaler] Autoscaler Standalone control loop supports multiple threads
## What is the purpose of the change When the job list has a lot of jobs, single thread isn't enough. So Autoscaler Standalone control loop supports multiple thread is very useful for massive production, it's similar to `kubernetes.operator.reconcile.parallelism`. ## Brief change log Introduce `autoscaler.st...
diff --git a/docs/layouts/shortcodes/generated/autoscaler_standalone_configuration.html b/docs/layouts/shortcodes/generated/autoscaler_standalone_configuration.html index 632ab2aeba..f385c5b063 100644 --- a/docs/layouts/shortcodes/generated/autoscaler_standalone_configuration.html +++ b/docs/layouts/shortcodes/generate...
4
3
1
[{"id": "G0", "claim": "The default of `control-loop.parallelism` is 100 whereas the Kubernetes operator's default parallelism is 200, and the reviewer points out the two need not be aligned.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "TestingEventCol...
null
apache__flink-kubernetes-operator__746
apache/flink-kubernetes-operator
746
defect
141aac76af0837d4d57b1d896d9e9bcba4593236
387706652ebf2e6a2810ec9f04c77813cd826827
[hotfix][autoscaler] Fix the StandaloneAutoscalerExecutorTest.testScaling fails occasionally due to race condition
Sorry for this fix! After #744 is merged, I rebased it. During developing other features, I found `StandaloneAutoscalerExecutorTest.testScaling fails occasionally due to race condition`. Here is my fork repo, it fails with : https://github.com/1996fanrui/flink-kubernetes-operator/actions/runs/7405774151/job/20...
diff --git a/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerExecutor.java b/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerExecutor.java index 0312903429..286c78caf1 100644 --- a/flink-autoscaler-standalone/src/m...
1
1
0
[{"id": "G0", "claim": "The comment should read \"// Wait for all scalings to go finished.\" instead of \"// Wait for all scalings are finished.\" (a suggestion block was provided).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__758
apache/flink-kubernetes-operator
758
defect
48df9d35ed55ae8bb513d9153e9f6f668da9e1c3
d2c6f6ef2eb7a42522271c2662412f17376b3e4d
[FLINK-34131] Ensure cluster.health-check.checkpoint-progress.window is well configure
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/ClusterHealthEvaluator.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/ClusterHealthEvaluator.java index 6a39586fa8..0490fc2110 100644 --- a/flink-kubernetes-operator/src/main/...
1
1
1
[{"id": "G0", "claim": "Instead of logging a warning and turning the checkpoint-progress health check off when the configured window is too short, the evaluator should default the window to an appropriate value (the reviewer suggested 2 * cpInterval).", "category": "design", "verdict": "supported", "priority": "P1", "s...
null
apache__flink-kubernetes-operator__759
apache/flink-kubernetes-operator
759
defect
6e78221e6abc72ce8daeb92be1cf58fd2506b591
1dd5eeaa71b491055bf120fab88cf1aab8114c6a
[FLINK-34178][autoscaler] Fix the bug that observed scaling restart time is always great than `stabilization.interval`
## What is the purpose of the change The ScalingTracking of autoscaler is wrong, it's always greater than AutoScalerOptions#STABILIZATION_INTERVAL. ### Reason When flink job isStabilizing, ScalingMetricCollector#updateMetrics will return a empty metric history. In the JobAutoScalerImpl#runScalingLogic method, ...
diff --git a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/JobAutoScalerImpl.java b/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/JobAutoScalerImpl.java index 04ab36e79a..c485e4e1fe 100644 --- a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/JobAutoScalerImpl.java +++ b/flink-autos...
2
2
1
[{"id": "G0", "claim": "Using `now` (the current instant) as the endTime of the ScalingRecord makes the recorded restart time greater than `stabilization.interval` even when the scaling is very quick, since scaling runs once per reconcile interval; the endTime should be taken from the job update timestamp instead.", "c...
null
apache__flink-kubernetes-operator__763
apache/flink-kubernetes-operator
763
defect
66808eb9f2d7d26dcd755fec7fdab5ccaf75f8bc
dfc00bbac021440093186c3bc1bdb58f41d1e6bb
[FLINK-34311] Do not change min resource requirements when rescaling with adaptive scheduler
## What is the purpose of the change Do not change the min parallelism requirements when rescaling pipelines with the adaptive scheduler in order to avoid unnecessary failures. ## Brief change log - Set min to previous min ## Verifying this change Unit tests added ## Does this pull request potentially af...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/NativeFlinkService.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/NativeFlinkService.java index 9781a5b05c..5ecf63668d 100644 --- a/flink-kubernetes-operator/src/main/java/org/a...
1
1
0
[{"id": "G0", "claim": "Add a small comment explaining why the lower bound is kept unless the new parallelism goes below it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__768
apache/flink-kubernetes-operator
768
defect
66808eb9f2d7d26dcd755fec7fdab5ccaf75f8bc
90ff10b86c2cec39f857a44a586020bbecd2ed09
[FLINK-33089] Clean up 1.13 and 1.14 references from docs and code
We have previously removed Flink 1.13 and 1.14 support. See https://issues.apache.org/jira/browse/FLINK-33089. This removes some left-overs and adjusts the version check to work on the last-supported version.
diff --git a/docs/content/docs/custom-resource/overview.md b/docs/content/docs/custom-resource/overview.md index 01b098ade9..a4362e98db 100644 --- a/docs/content/docs/custom-resource/overview.md +++ b/docs/content/docs/custom-resource/overview.md @@ -85,7 +85,7 @@ The spec contains all the information the operator need...
2
2
2
[{"id": "G0", "claim": "The v1_13 and v1_14 enum values need to be kept in FlinkVersion for CRD backwards-compatibility.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The removed reference.md rows are generated output that probably can't be removed...
null
apache__flink-kubernetes-operator__770
apache/flink-kubernetes-operator
770
defect
4342636cdb2c3439389e83cb4fe4366156edfbd7
6e1bac21a76cfa5c37d5926a70474e176010a8ba
[FLINK-31220] Replace Pod with PodTemplateSpec for the pod template properties
## What is the purpose of the change The PodTemplate fields in the CRD currently incorrectly use the Pod time, when they should be PodTemplateSpec type. This leads to unnecessary (meaningless) fields and a very large CRD for no gain. Also accidentally changing fields like apiKind would trigger an unnecessary upgr...
diff --git a/docs/content/docs/custom-resource/pod-template.md b/docs/content/docs/custom-resource/pod-template.md index 6d704c9242..bf7097e51d 100644 --- a/docs/content/docs/custom-resource/pod-template.md +++ b/docs/content/docs/custom-resource/pod-template.md @@ -55,10 +55,6 @@ spec: taskmanager.numberOfTaskSlo...
1
1
0
[{"id": "G0", "claim": "Add an explanatory comment to clearIgnoredFields/clearAdditionalProps clarifying why nulling the PodTemplateSpec additionalProperties became necessary for the Pod/PodTemplateSpec transition, since the behavior is not self-evident.", "category": "documentation", "verdict": "supported", "priority"...
null
apache__flink-kubernetes-operator__777
apache/flink-kubernetes-operator
777
defect
f5d9b1917aec875bf04c35d6d3debd93f620c76d
5bc45a24839c2251b578cf7b47e2a1c60fdbfcda
[FLINK-34438] Wait for Deployments to be deleted on cluster shutdown
## What is the purpose of the change Waiting for TaskManager and JobManager pods to be removed might cause issues in a slow Kubernetes cluster. Upon upgrade, there is a slim possibility that the operator will attempt to create a new `Deployment` before the last one was removed. This was mitigated by [FLINK-32334](ht...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/AbstractFlinkService.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/AbstractFlinkService.java index 2fafb027b9..ebcd31c260 100644 --- a/flink-kubernetes-operator/src/main/java/o...
3
2
0
[{"id": "G0", "claim": "When waiting for a Deployment to be removed times out, the operator only logs an error and proceeds, so during an upgrade it may create a new Deployment, get an AlreadyExists error and deadlock.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id":...
null
apache__flink-kubernetes-operator__782
apache/flink-kubernetes-operator
782
defect
6a8606517fb9f38f3a486c022f925368c9b4d9ae
4fd265467aa467dfdd9f84c7191d974a97356279
[FLINK-34502][autoscaler] Support calculating network memory for forward and rescale edge
## What is the purpose of the change This is follow up Jira of [FLINK-34471](https://issues.apache.org/jira/browse/FLINK-34471) #781 . [FLINK-34471](https://issues.apache.org/jira/browse/FLINK-34471) assuming all connections type are ALL_TO_ALL. This Jira will optimize it to save some network memory for forward and ...
diff --git a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/ScalingMetricEvaluator.java b/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/ScalingMetricEvaluator.java index 6512758bc6..085d80ae62 100644 --- a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/ScalingMetricEvaluator.java ++...
6
3
0
[{"id": "G0", "claim": "Compute the channel count with `(int) Math.ceil(otherVertexParallelism / (double) currentVertexParallelism)` instead of multiplying by the `1.0d` constant.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A custom partition...
null
apache__flink-kubernetes-operator__786
apache/flink-kubernetes-operator
786
defect
f4b04ec5f47358829ee279806d2f74b1f1641ee2
e194bccaf0ade194c79f7f3941bf6d0faa7e7d43
[FLINK-34152] Add an option to scale memory when downscaling
This adds an option to increase heap and managed memory when removing TaskManagers. The scaling is applied after adjusting the memory pools (heap, metaspace, network, managed) and only affects heap memory. The reason for adding this functionality is that the likelihood of running into memory constrained scenarios wh...
diff --git a/docs/layouts/shortcodes/generated/auto_scaler_configuration.html b/docs/layouts/shortcodes/generated/auto_scaler_configuration.html index 65fb594d8a..e293bf0d91 100644 --- a/docs/layouts/shortcodes/generated/auto_scaler_configuration.html +++ b/docs/layouts/shortcodes/generated/auto_scaler_configuration.ht...
2
1
0
[{"id": "G0", "claim": "The docs for job.autoscaler.memory.tuning.scaling.enabled say TaskManager heap AND managed memory are increased when scaling down, but the code only scales heap (managed memory is computed before applyMemoryScaling and never adjusted) — the author should confirm whether managed memory is meant t...
null
apache__flink-kubernetes-operator__791
apache/flink-kubernetes-operator
791
defect
b8f22bfe5da4ac1b652faa5376ff0334f33006e4
5ffc842acb109918b9b248d0d14f992737d937be
[FLINK-34524] Scale down JM deployment to 0 before deletion
## What is the purpose of the change We recently improved the JM deployment deletion mechanism, however it seems like task manager pod deletion can get stuck sometimes for a couple of minutes in native mode if we simply try to delete everything at once. It speeds up the process and leads to cleaner shutdown if we...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkDeploymentController.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkDeploymentController.java index c8c24ef397..b7f8afcc6b 100644 --- a/flink-kubernetes-operator...
4
4
2
[{"id": "G0", "claim": "Shouldn't deleting the standalone cluster result in one request, i.e. the removed request-count assertion (which expected 2) no longer matches the changed deletion flow and should not simply be dropped.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
apache__flink-kubernetes-operator__796
apache/flink-kubernetes-operator
796
defect
726e484c6a9b4121563829bc094b3eebeb8ddcf3
d30b2fbc64e1621c346a17bad89ef1e262b4271d
[FLINK-34642] Add a test for zero lower utilization boundary
Users recently reported that scale down as "broken". Turned out that `target.utilization` and `target.utilization.boundary` were set to the same value. This prevents scale down entirely, which is expected and desired. This PR adds a test to verify this behavior to avoid breaking this in the future.
diff --git a/docs/layouts/shortcodes/generated/auto_scaler_configuration.html b/docs/layouts/shortcodes/generated/auto_scaler_configuration.html index 5dc38861a8..b3466b63c1 100644 --- a/docs/layouts/shortcodes/generated/auto_scaler_configuration.html +++ b/docs/layouts/shortcodes/generated/auto_scaler_configuration.ht...
1
1
0
[{"id": "G0", "claim": "Use var on the left-hand sides of the local variable declarations in testNoScaleDownOnZeroLowerUtilizationBoundary to make the code shorter and consistent with the rest of the method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__801
apache/flink-kubernetes-operator
801
defect
b584b08806c7e8366519acdb92bfb4725faaebba
e0168db5f62a2e484c515bbb9a96517875de8b09
[FLINK-34906] Only scale when all tasks are running
## What is the purpose of the change Currently, the autoscaler will scale a job when the JobStatus is RUNNING. But the JobStatus will be RUNNING once job starts schedule, so it doesn't mean all tasks are running. Especially, when the resource isn't enough or job recovers from large state. The autoscaler will thro...
diff --git a/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/flinkcluster/FlinkClusterJobListFetcher.java b/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/flinkcluster/FlinkClusterJobListFetcher.java index e99424c554..6ed8cbc8da 100644 --- a/flink-autos...
1
1
0
[{"id": "G0", "claim": "The RUNNING-state adjustment logic should be deduplicated so that the standalone autoscaler and the Kubernetes operator use the same code path, instead of the PR copying the operator's logic into the standalone module.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "i...
null
apache__flink-kubernetes-operator__806
apache/flink-kubernetes-operator
806
defect
a97bc2d5272e26af702e83dce153193167c60ee6
d0423e0c9cb1df944f989a3c6a8fae19a89cef0d
[FLINK-34947] Only scale down JM in Foreground deletion propagation and reduce timeout
## What is the purpose of the change We introduced a logic to scale down the JobManager before the task managers are killed to have a more graceful shutdown sequence. Currently this is always done in native mode, but it makes more sense to restrict this functionality to foreground deletion. Foreground deletion is...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/NativeFlinkService.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/NativeFlinkService.java index 4216312497..72df1f3cf9 100644 --- a/flink-kubernetes-operator/src/main/java/org/a...
2
1
0
[{"id": "G0", "claim": "The new helper should be named shutdownJobManagersBlocking instead of shutdownJobManagers to keep the existing *Blocking naming pattern for the reader.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Cutting the JM scale-d...
null
apache__flink-kubernetes-operator__818
apache/flink-kubernetes-operator
818
defect
baad90088ea5b5b240186a530a79b64fb84cc77e
e512134e896d86571f18ca256078bd1bdba1b2e4
[hotfix] Using Flink ExceptionUtils for exception checking
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/sessionjob/SessionJobReconciler.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/sessionjob/SessionJobReconciler.java index 60b6b26f0b..6caf28d508 100644 --- a/flink-kuberne...
3
2
2
[{"id": "G0", "claim": "The checkstyle check is not passing; run `mvn spotless:apply` and try to build locally first.", "category": "style", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Two unit tests appear to fail in CI for this pull request.", "category": "testing", "verdi...
null
apache__flink-kubernetes-operator__824
apache/flink-kubernetes-operator
824
defect
e73363f3486ed9e1df5cc05c9d0baec7c8c3a37f
5d0a7eb12ff68da5008bede97054e751c97e2d06
[FLINK-34212][autoscaler] Autoscaler Standalone cleans up stopped jobs to prevent memory leaks
## What is the purpose of the change Autoscaler Standalone will fetch job list, and scale them. In general, autoscaler has some cache in memory. Autoscaler Standalone should clean up them if some jobs cannot be fetched anymore. ## Brief change log - [FLINK-34212][autoscaler] Autoscaler Standalone ...
diff --git a/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerExecutor.java b/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerExecutor.java index fa057e3ecb..75933965f3 100644 --- a/flink-autoscaler-standalone/src/m...
1
1
0
[{"id": "G0", "claim": "The test should use CompletableFuture instead of Thread.sleep (per the reviewer's draft patch) to wait for scaling/cleanup to complete.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__834
apache/flink-kubernetes-operator
834
defect
249a6945aaa847a506c42111d7332ad072578095
4c2c6a01de69b485082841b8b904ab36d7a870ed
[FLINK-33803] Remove deprecated `lastReconciledSpec` meta generation in favour of `observedGeneration`
## What is the purpose of the change Followup to https://issues.apache.org/jira/browse/FLINK-33803 (https://github.com/apache/flink-kubernetes-operator/pull/755) > The `observedGeneration` field in the `FlinkDeployment` CRD status is used to persist the generation that was last acted on by the operator. At the end ...
diff --git a/flink-kubernetes-operator-api/src/main/java/org/apache/flink/kubernetes/operator/api/reconciler/ReconciliationMetadata.java b/flink-kubernetes-operator-api/src/main/java/org/apache/flink/kubernetes/operator/api/reconciler/ReconciliationMetadata.java index c2f51669b7..cfcb52e9e6 100644 --- a/flink-kubernete...
1
1
1
[{"id": "G0", "claim": "Removing the `metadata` field from `ReconciliationMetadata` may not be backward compatible: Jackson could fail when deserializing persisted spec state written by a previous operator version that populated that field, and this should be tested/verified.", "category": "correctness", "verdict": "su...
null
apache__flink-kubernetes-operator__842
apache/flink-kubernetes-operator
842
defect
3f4da19468a3859cf84c88b9b0776fa9c7b95781
8022d32fc94e5fb1dc27d65efe3c1639da219bc6
[FLINK-35649] Bump Flink version to 1.19.1 in k8s-operator
## What is the purpose of the change Bump Flink version to 1.19.1 in k8s-operator. ## Brief change log - Bump Flink to 1.19.1 in `pom.xml`. - Adapt `StandaloneKubernetesJobManagerFactoryTest#testTemplateSpec` test case, because of the newly introduced `user-artifact-volume` in FLINK-28915. - Force `GlobalCon...
diff --git a/flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/KubernetesScalingRealizerTest.java b/flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/autoscaler/KubernetesScalingRealizerTest.java index 994732ab49..90a4065957 100644 --- a/flink-kubernetes-...
3
3
2
[{"id": "G0", "claim": "The new standardYaml default should be disabled by default because it can cause backward compatibility issues with the autoscaler's stored override values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It would make sense to...
null
apache__flink-kubernetes-operator__850
apache/flink-kubernetes-operator
850
defect
ffaa3dd8d4f03d98c01d938c730fab8a21f340c0
877c7f61378342d79621deb520c51fa707b2ae82
[FLINK-35126] Rework default checkpoint progress check window
## What is the purpose of the change Currently the checkpoint progress health check window is configurable by Duration. This makes it hard to enable by default as the sensible interval depends on the checkpoint interval. At the same time the operator already contains logic for a minimum progress check interval c...
diff --git a/docs/layouts/shortcodes/generated/dynamic_section.html b/docs/layouts/shortcodes/generated/dynamic_section.html index 9c1083fca6..5b618faf52 100644 --- a/docs/layouts/shortcodes/generated/dynamic_section.html +++ b/docs/layouts/shortcodes/generated/dynamic_section.html @@ -22,15 +22,15 @@ </tr> ...
1
1
1
[{"id": "G0", "claim": "The docs and the debug message should mention that 2 is added to the tolerable checkpoint failures when computing the window size, since the tolerance can be 0 and this could otherwise confuse users.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__853
apache/flink-kubernetes-operator
853
defect
cb90b10c93241f9994acdd11d59ce1ec25ccbc47
bb1a7033d467c2bf3e3c14b3c209105465c41328
[FLINK-35851][autoscaler] Introduce GlobalConfiguration.loadConfiguration load config
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it ca...
diff --git a/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerEntrypoint.java b/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerEntrypoint.java index 6d8a495e8f..0f32190951 100644 --- a/flink-autoscaler-standalone/s...
2
2
1
[{"id": "G0", "claim": "Extract the configuration-loading code in main into a separate method and add a unit test that checks whether the overwrite logic is fine.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add documentation explaining how to use the ...
null
apache__flink-kubernetes-operator__855
apache/flink-kubernetes-operator
855
defect
29076c80eaac5547e3d12f703c43780cd4a52dad
39bbc7e411d48a4d573be1ea9e773ab3d175b7dc
[FLINK-35857] fix redeploy failed deployment without latest checkpoint
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/AbstractJobReconciler.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/AbstractJobReconciler.java index 1e256b7a9a..0a0e0a68d1 100644 --- a/flink-kuber...
2
1
0
[{"id": "G0", "claim": "It is unclear how the added updateStatusForDeployedSpec call solves the failed-deployment failover issue, and the author is asked to explain why it does.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fix should be made dir...
null
apache__flink-kubernetes-operator__863
apache/flink-kubernetes-operator
863
defect
8479f2267620cf6cb7a5cda981a769b8a0262184
63bd6e1934edcc529202ce84f6f799e85b7f1c09
[FLINK-36031] [kubernetes-client] Migrate to Fabric8 interceptor API
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/examples/flink-sql-runner-example/pom.xml b/examples/flink-sql-runner-example/pom.xml index b96678c500..16d0c10811 100644 --- a/examples/flink-sql-runner-example/pom.xml +++ b/examples/flink-sql-runner-example/pom.xml @@ -50,7 +50,6 @@ under the License. <version>${flink.version}</version> ...
3
3
2
[{"id": "G0", "claim": "The NOTICE file should be updated on the fabric8 dependency version change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `consumer` method is not called when building websockets, so the new implementation outputs a di...
null
apache__flink-kubernetes-operator__865
apache/flink-kubernetes-operator
865
defect
8479f2267620cf6cb7a5cda981a769b8a0262184
ecabeeeb0085d8e4ca5a832fc301f82999d0f188
[FLINK-36039][autoscaler] Support clean historical event handler records in JDBC event handler
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can ...
diff --git a/docs/layouts/shortcodes/generated/autoscaler_standalone_configuration.html b/docs/layouts/shortcodes/generated/autoscaler_standalone_configuration.html index 7d724b7fd8..6710e2873f 100644 --- a/docs/layouts/shortcodes/generated/autoscaler_standalone_configuration.html +++ b/docs/layouts/shortcodes/generate...
11
9
4
[{"id": "G0", "claim": "eventHandler.close() is called twice (once via autoScaler.close()), so the PR should not introduce the close for autoScaler and should close eventHandler directly instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new opt...
null
apache__flink-kubernetes-operator__868
apache/flink-kubernetes-operator
868
defect
c8a6ca814708dfc7b08b046ad20a8a64d53aa04a
4811b195f98a79459da52462e3c4319acd23fce9
[FLINK-36110][snapshot] Store periodic snapshot trigger timestamps in memory
## What is the purpose of the change SnapshotObserver uses deprecated fields as the latest timestamp of triggered snapshots. These fields are not updated when using FlinkStateSnapshot though. This new method of storing these timestamps is meant to fix this case. ## Brief change log - Add new class to store/ret...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/SnapshotObserver.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/SnapshotObserver.java index e09d152744..1f13b6e39d 100644 --- a/flink-kubernetes-operator/src/main/java/org/apa...
4
2
0
[{"id": "G0", "claim": "The snapshotType field could be removed and its accessor logic passed into the SnapshotTriggerTimestampStore constructor, possibly with a static utility for instantiation.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In almost all...
null
apache__flink-kubernetes-operator__875
apache/flink-kubernetes-operator
875
defect
6a426b2ff60331b89d67371279f400f8761bf1f3
68c8c467cf9d77314e320cc7b1b8b327e0a9ab69
[FLINK-36018][autoscaler] Support lazy scale down to avoid frequent rescaling
## What is the purpose of the change When the source traffic decreases, the autoscaler scales down job in time to save resources. It causes that each job rescales more than 20 times a day. ## Brief change log - [FLINK-36018][autoscaler] Support lazy scale down to avoid frequent rescaling - Configuration Optio...
diff --git a/docs/layouts/shortcodes/generated/auto_scaler_configuration.html b/docs/layouts/shortcodes/generated/auto_scaler_configuration.html index d9bed10195..49ff71efa2 100644 --- a/docs/layouts/shortcodes/generated/auto_scaler_configuration.html +++ b/docs/layouts/shortcodes/generated/auto_scaler_configuration.ht...
4
3
0
[{"id": "G0", "claim": "The log emitted when a scale down request is first delayed should record how long the scale down will be delayed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Gyula thinks a scale up should reset the delayed scale-down first-tri...
null
apache__flink-kubernetes-operator__883
apache/flink-kubernetes-operator
883
defect
d946f3f9f3a7f12098cd82db2545de7c89e220ff
9d9d42c1e87f5e322ea9183492d04d91dbd4deeb
[FLINK-36264] Fix can not setup other values for parameter `rest-service.exposed.type`
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/FlinkConfigBuilder.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/FlinkConfigBuilder.java index 63f65003e2..42ecfd0249 100644 --- a/flink-kubernetes-operator/src/main/java/org/apa...
1
1
0
[{"id": "G0", "claim": "applyIngressDomain() can be removed altogether, since the REST_SERVICE_EXPOSED_TYPE default is already applied in applyFlinkConfiguration(), where it is only set if the user has not set it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__896
apache/flink-kubernetes-operator
896
defect
4f87bc2210387061c3c0391e5b7c8bbecb9c7fcd
76e3b262cc4c78d87fa15354f86dcb95fb3ce0b0
[FLINK-36473] Wait for metrics before asserting on them
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-autoscaler/src/test/java/org/apache/flink/autoscaler/RestApiMetricsCollectorTest.java b/flink-autoscaler/src/test/java/org/apache/flink/autoscaler/RestApiMetricsCollectorTest.java index 9a5fd71898..5c40883e7a 100644 --- a/flink-autoscaler/src/test/java/org/apache/flink/autoscaler/RestApiMetricsCollec...
3
3
0
[{"id": "G0", "claim": "The flink-autoscaler should declare a dependency on the real awaitility library instead of using testcontainers' shaded Awaitility classes, and the duplicated `awaitility.version` property should be removed from `flink-kubernetes-operator-api` POM and moved to the parent POM.", "category": "main...
null
apache__flink-kubernetes-operator__908
apache/flink-kubernetes-operator
908
defect
2c98292f831822a80c0b235658e936e4bac59956
02b0039100ea71c3c0fc8fdb46ad391b84b9322c
[FLINK-36583] Add Slow Request Kube Client Metrics
## What is the purpose of the change Adding a simple counter to monitor slow API requests, identifying those that exceed a predefined time threshold, e.g.: ``` kubernetes.client.metrics.slow.request.threshold=5s ``` ## Verifying this change - Unit tests where added - Manually can be verified by reducing th...
diff --git a/docs/layouts/shortcodes/generated/kubernetes_operator_metric_configuration.html b/docs/layouts/shortcodes/generated/kubernetes_operator_metric_configuration.html index a326654f2a..6c2ed7009a 100644 --- a/docs/layouts/shortcodes/generated/kubernetes_operator_metric_configuration.html +++ b/docs/layouts/shor...
1
1
0
[{"id": "G0", "claim": "The test method added at line 349 is misnamed: based on what the test does, it should be named shouldTrackResponseAsSlowResponseAboveThreshold instead of shouldNotTrackResponseAsSlowResponseAboveThreshold.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intro...
null
apache__flink-kubernetes-operator__920
apache/flink-kubernetes-operator
920
defect
5d29554a179632028ccd182d48da5f825b52b976
3a3c045494bdb9c849eeb25982be3cbd9adde167
[FLINK-36535][autoscaler] Optimize the scale down logic based on historical parallelism to reduce the rescale frequency
## What is the purpose of the change Get more details from FLINK-36535. ## Brief change log [FLINK-36535][autoscaler] Optimize the scale down logic based on historical parallelism 1. Using the maximum parallelism within the window instead of the latest parallelism when scaling down 2. Never scale down when...
diff --git a/flink-autoscaler-plugin-jdbc/src/main/java/org/apache/flink/autoscaler/jdbc/state/JdbcAutoScalerStateStore.java b/flink-autoscaler-plugin-jdbc/src/main/java/org/apache/flink/autoscaler/jdbc/state/JdbcAutoScalerStateStore.java index 5ac870fe6a..dfadc9ac38 100644 --- a/flink-autoscaler-plugin-jdbc/src/main/j...
8
4
1
[{"id": "G0", "claim": "Question whether the ParallelismChange class is still needed, since Optional<Integer> would be enough.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Suggest renaming the local variable vertexInfo to vertexDelayedScaleDownInfo in De...
null
apache__flink-kubernetes-operator__928
apache/flink-kubernetes-operator
928
defect
5d301d139722e983daf55a11e9ee4469905838bc
93e19e2260fe72435cab711edc550352d89e6b0b
[FLINK-36640] Add autoscalerResetNonce to jobSpec
## What is the purpose of the change The main purpose is to allow users to easily and explicitly clear all autoscaler state and parallelism overrides. Currently users need to toggle the autoscaler on/off to clear the parallelism settings which relies on implicit internal behaviour and is not always easy to execut...
diff --git a/docs/content/docs/custom-resource/reference.md b/docs/content/docs/custom-resource/reference.md index 34051837cb..41bd17efc5 100644 --- a/docs/content/docs/custom-resource/reference.md +++ b/docs/content/docs/custom-resource/reference.md @@ -182,6 +182,7 @@ This serves as a full reference for FlinkDeployme...
4
1
0
[{"id": "G0", "claim": "The reset's cleanup may also need to remove PipelineOptions.PARALLELISM_OVERRIDES from the spec conf.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The cleanup only removes the autoscaler info from the cache, leaving the data ...
null
apache__flink-kubernetes-operator__930
apache/flink-kubernetes-operator
930
defect
5d301d139722e983daf55a11e9ee4469905838bc
016b628d627865b55724b2deab399bdf68e8c305
[FLINK-36645] [flink-autoscaler] Gracefully handle null execution pla…
…n from autoscaler <!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a sh...
diff --git a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/topology/JobTopology.java b/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/topology/JobTopology.java index 851db6b056..483f20f070 100644 --- a/flink-autoscaler/src/main/java/org/apache/flink/autoscaler/topology/JobTopology.java +++ b/fl...
1
1
0
[{"id": "G0", "claim": "Add a new constructor to NotReadyException so the null/empty-nodes check does not need to wrap an unnecessary RuntimeException.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__936
apache/flink-kubernetes-operator
936
defect
d9fa47976f68148dd64c4d3180f0c5a25d3fe609
e9eec8fe642103f674e55ac2b96ed3159d2778b3
[FLINK-37126] Add Validator for Autoscaler
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerExecutor.java b/flink-autoscaler-standalone/src/main/java/org/apache/flink/autoscaler/standalone/StandaloneAutoscalerExecutor.java index 4a83743869..658fad0901 100644 --- a/flink-autoscaler-standalone/src/m...
1
1
0
[{"id": "G0", "claim": "The PR should not add an AutoscalerValidator interface with a DefaultAutoscalerValidator default implementation; it should be a single regular class used directly, with the interface only extracted later if pluggability is needed.", "category": "design", "verdict": "supported", "priority": "P2",...
null
apache__flink-kubernetes-operator__941
apache/flink-kubernetes-operator
941
defect
379c69065fcd4b34f230cf52ddc05f040500528f
dd22b3d090dc500927b194ca7dc180750d862268
[FLINK-37253] Add state size in application status and deployment metrics
This adds state size, i.e. the size of the last completed checkpoint, to the deployment status. It also exposes the state size as a deployment metric.
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/metrics/FlinkDeploymentMetrics.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/metrics/FlinkDeploymentMetrics.java index 310bb75a5f..f8a9165ee4 100644 --- a/flink-kubernetes-operator/src/main/ja...
3
3
1
[{"id": "G0", "claim": "Reporting the checkpointed size as the state-size metric may be useless for jobs with incremental checkpointing enabled (the common case, e.g. RocksDB), since checkpointedSize does not reflect the full state size.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd...
null
apache__flink-kubernetes-operator__944
apache/flink-kubernetes-operator
944
defect
44dd679a5952569a7ae36395202fdf609130fdef
0a1dacd2226d0a4b996d64359007b952c8fbd33c
[FLINK-37320] [Observer] FINISHED finite streaming jobs incorrectly being set to RECONCILING
## What is the purpose of the change This pull request fixes a bug where the observer tries changing the JOB STATUS of a FINISHED finite/bounded streaming job back to RECONCILING if the JM is MISSING. ## Brief change log Wraps [AbstractFlinkDeploymentObserver.observeJmDeployment](https://github.com/apache/flink-...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/deployment/AbstractFlinkDeploymentObserver.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/observer/deployment/AbstractFlinkDeploymentObserver.java index 38d4b831c6..713e132ad2 100644 -...
1
1
1
[{"id": "G0", "claim": "The new terminal-state guard lacks a unit test; add one to guard the change against accidental future regressions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__flink-kubernetes-operator__945
apache/flink-kubernetes-operator
945
defect
44dd679a5952569a7ae36395202fdf609130fdef
3f304757dce4a3d48a6541a9322d414ddba3733b
[FLINK-36409] Publish some autoscaler metrics during stabilisation period
## What is the purpose of the change Currently autoscaler metrics although collected are not published during stabilization period. We report metrics after the stabilization period only. In practice this could result in larger gaps in metric charts during scale operations that makes it hard for end users to interpre...
diff --git a/examples/autoscaling/autoscaling-dynamic.yaml b/examples/autoscaling/autoscaling-dynamic.yaml index 85f5eb0d9d..0e6466a4c5 100644 --- a/examples/autoscaling/autoscaling-dynamic.yaml +++ b/examples/autoscaling/autoscaling-dynamic.yaml @@ -27,7 +27,7 @@ spec: job.autoscaler.enabled: "true" job.auto...
5
3
0
[{"id": "G0", "claim": "The stabilizing log message should keep the existing output \"Stabilizing until {}\" because the added sample count is confusing, since those samples are not collected for evaluation.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__flink-kubernetes-operator__948
apache/flink-kubernetes-operator
948
defect
e636a0000c39ef2496ac5c27a3994e95e5e78ec7
9fc75ca03751df1499f211d9c76900bc933f6deb
[FLINK-37370] [Observer] Finished batch jobs throw ReconciliationException and never reach FINISHED in the CR
## What is the purpose of the change This pull request fixes a bug where in the observation phase, the operator tries to observe savepoint information for batch jobs and fails since checkpointing is not enabled for batch jobs. More information in: https://issues.apache.org/jira/browse/FLINK-37370 ## Brief chan...
diff --git a/flink-autoscaler/src/main/java/org/apache/flink/runtime/rest/messages/job/JobDetailsInfo.java b/flink-autoscaler/src/main/java/org/apache/flink/runtime/rest/messages/job/JobDetailsInfo.java index 8df9142464..4453da751c 100644 --- a/flink-autoscaler/src/main/java/org/apache/flink/runtime/rest/messages/job/J...
1
1
1
[{"id": "G0", "claim": "Avoid the extra REST API call made by the isBatchJob check on every observation (and the rewrite it would need if batch jobs ever take checkpoints); instead catch the checkpoint error in the observeLatestCheckpoint method, and add a test for this new logic in the observer.", "category": "design"...
null
apache__flink-kubernetes-operator__955
apache/flink-kubernetes-operator
955
defect
48359a326f417081bcfad984cbdab578ef9c906d
f34482d722abe26fa7e06eaa25c574ea58422d49
[FLINK-37370] [Observer] Fix exception caught when handling checkpointing not enabled for batch jobs and add batch e2e test
## What is the purpose of the change This pull request is a follow-up to https://github.com/apache/flink-kubernetes-operator/pull/948. It corrects the exception that is caught from `org.apache.flink.runtime.rest.util.RestClientException` to `java.util.concurrent.ExecutionException`. To make batch testing more rob...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9618a2b3b8..7545b63f6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,6 +161,7 @@ jobs: - test_autoscaler.sh - test_flink_operator_ha.sh - test_snapshot.sh + - test_batch_job.sh...
6
5
2
[{"id": "G0", "claim": "The e2e test should be included with this PR to make sure the fix is solid.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The batch test CR does not need the HA/checkpoint configs, which could be removed, and the pod template co...
null
apache__flink-kubernetes-operator__958
apache/flink-kubernetes-operator
958
defect
c4d460bb4fd3b67b4a23a840a87f811ea5463b70
6532e39914352dfcc819c07705eb1aa93182ae56
[FLINK-37430] Operator hides the actual error on deployment issues
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkDeploymentController.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkDeploymentController.java index ac0f7356e1..bae03cba2d 100644 --- a/flink-kubernetes-operator...
2
2
1
[{"id": "G0", "claim": "The new ExceptionUtilsTest has too many test cases; narrow it down to 2-3 cases that cover the functionality.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test for the non-serializable case, asserting a non-deserializable...
null
apache__flink-kubernetes-operator__979
apache/flink-kubernetes-operator
979
defect
27daa5ac23f65fd46f6345dadd8118235af7a508
7dc6496ced62b3728f76a74034ade0ca886810df
[FLINK-37769] Include cause in event when restarting unhealthy job
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/health/ClusterHealthInfo.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/health/ClusterHealthInfo.java index 8bfd1dec9e..d215e87c6a 100644 --- a/flink-kubernetes-operator/src/main/java/org/apach...
4
4
0
[{"id": "G0", "claim": "The new local variable in ClusterHealthEvaluator.evaluate should be declared with `var`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "ClusterHealthResult could simply be annotated `@Value` instead of `@Data`/`@AllArgsCo...
null
apache__flink-kubernetes-operator__994
apache/flink-kubernetes-operator
994
defect
5b3856b9a781b508641ee9d901625953d8f15bf0
8ed2ea48c4bc5c8bcbca1a4423ab5b0734762780
[FLINK-28648][Kubernetes Operator] Allow session deletion to block on any running job
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/docs/layouts/shortcodes/generated/dynamic_section.html b/docs/layouts/shortcodes/generated/dynamic_section.html index 54c1eb6946..f81afa4f2a 100644 --- a/docs/layouts/shortcodes/generated/dynamic_section.html +++ b/docs/layouts/shortcodes/generated/dynamic_section.html @@ -194,6 +194,12 @@ <td...
7
6
2
[{"id": "G0", "claim": "The test should not use reflection to access the private getUnmanagedJobs method; the method should instead be made visible with the @VisibleForTesting annotation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commen...
null
apache__flink-kubernetes-operator__997
apache/flink-kubernetes-operator
997
defect
5b3856b9a781b508641ee9d901625953d8f15bf0
45ba37de8702ff9279a21ff31e3d624ab6d4d709
[FLINK-32033][Kubernetes-Operator] Fix Lifecycle Status of FlinkDeployment Resource in case of MISSING/ERROR JM status
<!-- *Thank you very much for contributing to the Apache Flink Kubernetes Operator - we are happy that you want to help us improve the project. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be...
diff --git a/flink-kubernetes-operator-api/src/main/java/org/apache/flink/kubernetes/operator/api/status/CommonStatus.java b/flink-kubernetes-operator-api/src/main/java/org/apache/flink/kubernetes/operator/api/status/CommonStatus.java index 34c8cc99a3..b705c16f0b 100644 --- a/flink-kubernetes-operator-api/src/main/java...
1
1
0
[{"id": "G0", "claim": "Use a shared constant for this error message, kept in the operator api module so the reconciler can use it, instead of matching the hardcoded error string here, and unify the operator's differing forms of these exception messages through such constants.", "category": "maintainability", "verdict"...
null
apache__flink__24380
apache/flink
24,380
defect
a95b0fb75b6acc57e8cbde2847f26a1c870b03c0
2ad534019df4fbcdf6a1c81241d1ef0a4a147137
[FLINK-20090][rest] Expose slot sharing group info in REST API
## What is the purpose of the change At the moment slot sharing group information is not exposed in the REST API. In this PR I've added it. This feature can be used for example in the operator to introduce resource quotas. ## Brief change log Exposed slot sharing group information in the REST API. ## Verif...
diff --git a/flink-runtime-web/src/test/resources/rest_api_v1.snapshot b/flink-runtime-web/src/test/resources/rest_api_v1.snapshot index d6ba3eb2f5cd18..e0a852a57d56f1 100644 --- a/flink-runtime-web/src/test/resources/rest_api_v1.snapshot +++ b/flink-runtime-web/src/test/resources/rest_api_v1.snapshot @@ -895,6 +895,9 ...
2
1
1
[{"id": "G0", "claim": "No test shows that the slot sharing group info is correctly returned by the job details REST endpoint.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "OpenApiSpecGenerator.overrideIdSchemas was not updated, so generated OpenAPI sp...
null
apache__flink__26881
apache/flink
26,881
defect
6a31842a4392683349ba465170b8c01e8ec5c555
c794a4ae452e730e30c83ea8c5a2c7a5bb9eef58
[FLINK-38205][format][pb] Discard unknown fields by default
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please un...
diff --git a/flink-formats/flink-protobuf/src/main/java/org/apache/flink/formats/protobuf/PbConstant.java b/flink-formats/flink-protobuf/src/main/java/org/apache/flink/formats/protobuf/PbConstant.java index df181d1a449d30..7aff91f0fb668b 100644 --- a/flink-formats/flink-protobuf/src/main/java/org/apache/flink/formats/p...
2
1
1
[{"id": "G0", "claim": "The pull request should add tests covering its change to discard unknown fields when parsing protobuf messages.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The many existing protobuf tests that refer to unknown fields may no l...
null
apache__flink__26999
apache/flink
26,999
defect
80a95ef5a64d2948d58f8108cc7570627eded6ff
587958b3babf06e02f708e5170c29226c9e888de
[FLINK-38372][Runtime / Metrics] Introduces whitelist to the flink-metrics-prometheus
## What is the purpose of the change *Allowing users to specify a whitelist of metrics to be exposed through the Prometheus reporter.* ## Brief change log - *Adding a whiteList configuration option to PrometheusPushGatewayReporterOptions.* - *Filtering metrics in AbstractPrometheusReporter based on the ...
diff --git a/flink-metrics/flink-metrics-prometheus/src/main/java/org/apache/flink/metrics/prometheus/AbstractPrometheusReporter.java b/flink-metrics/flink-metrics-prometheus/src/main/java/org/apache/flink/metrics/prometheus/AbstractPrometheusReporter.java index 7e2dab464dcd15..fc7795ef6c709b 100644 --- a/flink-metrics...
2
2
0
[{"id": "G0", "claim": "Avoid the term 'whitelist' in identifiers (whiteLists, isInWhiteList), using 'allow list' instead, because 'whitelist' can carry pejorative or exclusionary connotations.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Wrap...
null
apache__flink__27285
apache/flink
27,285
defect
175de63c3a756548c0fde6679122c0b935dfe893
05ae34cb3ea5a989418c54fb2b42e62e8e2bb0e9
[FLINK-38340][runtime] Introduce the rescale timeline related abstraction for performing rescale operations
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please un...
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/timeline/DefaultRescaleTimeline.java b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/timeline/DefaultRescaleTimeline.java new file mode 100644 index 00000000000000..252e0bf5eddaab --- /dev/null +++ b/flink-run...
17
14
2
[{"id": "G0", "claim": "The RescaleTimeline interface javadoc is a one-liner calling it the 'rescale line' interface; it should say 'timeline' and give a more detailed description of what the interface is for, why and when it is used and how the timeline relates to the rescaling.", "category": "documentation", "verdict...
null
apache__flink__27483
apache/flink
27,483
defect
8833af43fd5a9ad476ff4cfb5af73162218b3b58
b47b0ce2442a0886a8a7c6b55bdf30d229a4d89c
[FLINK-38988][Table SQL/API] Support INET_ATON and INET_NTOA functions for IP address conversion
## What is the purpose of the change This pull request adds two new MySQL-compatible built-in SQL functions INET_ATON and INET_NTOA for IP address conversion. INET_ATON converts an IPv4 address string to its numeric representation, while INET_NTOA performs the reverse conversion. These functions are commonly used in...
diff --git a/docs/data/sql_functions.yml b/docs/data/sql_functions.yml index 0be8e6c9ca287..2f9dc050b0d8f 100644 --- a/docs/data/sql_functions.yml +++ b/docs/data/sql_functions.yml @@ -497,6 +497,24 @@ string: description: Translates a string into 'application/x-www-form-urlencoded' format using the UTF-8 e...
13
12
4
[{"id": "G0", "claim": "To pass the completeness check, the pull request should also add the Python API for the new INET_ATON and INET_NTOA functions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider leveraging existing utility classes such as com...
null
apache__flink__27527
apache/flink
27,527
defect
e8ac5b12b4f7188b86cb3ecd9fc9ee5d9ccc3410
35c3e81211ad631f638f3346b5ee0236a34b55c3
[FLINK-39000] [runtime] Avoid redundant seeks during operator list state restore
## What is the purpose of the change This pull request avoids redundant `FSDataInputStream.seek(offset)` calls while restoring operator list state. `PartitionableListState.write(...)` records offsets sequentially, so after deserializing one element the stream is typically already positioned at the next offset. Calling...
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/state/OperatorStateRestoreOperation.java b/flink-runtime/src/main/java/org/apache/flink/runtime/state/OperatorStateRestoreOperation.java index e7ba144d5b775..602baec35bc3e 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/state/OperatorSt...
2
1
0
[{"id": "G0", "claim": "The patch should be tested with a real-world workload, not only the added unit test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Skipping `in.seek(offset)` when `currentPos == offset` may be unsafe on filesystem implementation...
null
apache__flink__27531
apache/flink
27,531
defect
e8ac5b12b4f7188b86cb3ecd9fc9ee5d9ccc3410
d9f1df9577aec40ee2dc53c3fd6f1514c8d14d6d
[FLINK-39029] move catalog store factory builder to new class
## What is the purpose of the change Refactor `CatalogStoreFactory` builder based on comments in https://github.com/apache/flink/pull/27394 ## Brief change log Move builder to `ApiFactoryUtil` and only construct factory is store is not from settings. ## Verifying this change Added unit test ## Doe...
diff --git a/flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/context/SessionContext.java b/flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/context/SessionContext.java index 12bfc2d8e5a87a..b5463d44267fea 100644 --- a/flink-table/flink-sql-gateway/src...
2
2
0
[{"id": "G0", "claim": "The catalog store creation block should be moved into ApiFactoryUtil (e.g. ApiFactoryUtil.getOrCreateCatalogStore) to avoid duplicating the code in TableEnvironmentImpl.java.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
apache__flink__27539
apache/flink
27,539
defect
197c7b97adc9a781c66b5e062cda9662c425f0bb
ccfd7236c0f359cfb5ca11a43d5c8ef83ec7964c
[FLINK-38342][runtime] Support record rescale information.
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please un...
diff --git a/docs/layouts/shortcodes/generated/all_jobmanager_section.html b/docs/layouts/shortcodes/generated/all_jobmanager_section.html index d16e2058cc6eca..eab9ebcc372754 100644 --- a/docs/layouts/shortcodes/generated/all_jobmanager_section.html +++ b/docs/layouts/shortcodes/generated/all_jobmanager_section.html @...
15
8
1
[{"id": "G0", "claim": "The DummyState overrides that return null or no-op for methods already implemented by StateWithoutExecutionGraph (e.g. getDurable(), which State#onLeave uses and which must not be null) can cause NPEs and make the test state behave unlike real states; remove these overrides or delegate to super/...
null
apache__flink__27540
apache/flink
27,540
defect
863140ea4a4503d169d02d560fa9780aa4db24ca
f89b15962b742dd2d3f000960e83a32d59bd3a19
[FLINK-38343][runtime] Support store rescale history with statistics by ExecutionGraphInfoStore.
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please un...
diff --git a/docs/layouts/shortcodes/generated/all_jobmanager_section.html b/docs/layouts/shortcodes/generated/all_jobmanager_section.html index d16e2058cc6eca..eab9ebcc372754 100644 --- a/docs/layouts/shortcodes/generated/all_jobmanager_section.html +++ b/docs/layouts/shortcodes/generated/all_jobmanager_section.html @...
4
4
1
[{"id": "G0", "claim": "The UnsupportedOperationException message and its guard read backwards: it says 'Unsupported ... when scheduler type is adaptive' while the guard fires for non-adaptive schedulers, so the message should say the method is only supported for the adaptive scheduler.", "category": "correctness", "ve...
null
apache__flink__27553
apache/flink
27,553
defect
7488449d086ddb08feae22972266e5e019905f8b
b8a8aa8f056d19366109d783eded093970606f88
[FLINK-38936][connectors/filesystem] Improve OS-Independent File Path Resolution for FileSystem Connector
## What is the purpose of the change This pull request addresses the issue detailed in [FLINK-38936](https://issues.apache.org/jira/browse/FLINK-38783) which details a bug related to file name resolution in Windows-specific environments for the FileSystem SQL Connector. ## Brief change log - Updated `FileSyste...
diff --git a/flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/FileSystemTableSource.java b/flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/FileSystemTableSource.java index 4e8da8fb090d6..0ad7b4ab5c4b1 100644 --- a/flink-connectors/flin...
3
3
0
[{"id": "G0", "claim": "The file.path accessor (FileSystemTableSource.java line 508) may also need the same OS-independent treatment and, if not, tests should be added for it anyway.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new test cases sh...
null
apache__flink__27580
apache/flink
27,580
defect
b81b124ce8bf3acd260b94f99784fe191f700047
f0cc43f70a72ecd881d37d83ac19d33e165f8887
[FLINK-38897][Runtime/REST] Introduce the /jobs/:jobid/rescales/config endpoint in the REST API
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please ...
diff --git a/docs/layouts/shortcodes/generated/rest_v1_dispatcher.html b/docs/layouts/shortcodes/generated/rest_v1_dispatcher.html index 2339c5233f4f4e..c0e63785e98994 100644 --- a/docs/layouts/shortcodes/generated/rest_v1_dispatcher.html +++ b/docs/layouts/shortcodes/generated/rest_v1_dispatcher.html @@ -3086,6 +3086,...
6
3
1
[{"id": "G0", "claim": "The new golden-file entry for the /jobs/:jobid/rescales/config endpoint declares the response schema id as ThreadDumpInfo instead of JobRescaleConfigInfo.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The @Nullable getJobRes...
null
apache__flink__27603
apache/flink
27,603
defect
4d4c30933543fb9796a941c356cb01ee84903da9
e343364abad0fdab7024afd4dff5f4f9b7e0f386
[FLINK-39088][table] Fix upsert key preservation by introducing injective cast checks for CAST
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please un...
diff --git a/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/logical/utils/LogicalTypeCasts.java b/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/logical/utils/LogicalTypeCasts.java index 310bc71e29b795..73e7c3ed2a152a 100644 --- a/flink-table/flink-table-common/src/...
4
4
3
[{"id": "G0", "claim": "supportsInjectiveCast should not simply delegate to supportsImplicitCast (e.g. the implicit cast DATE implicitFrom TIMESTAMP_WITHOUT_TIME_ZONE is not injective); it needs dedicated injective rules such as an .injectiveFrom builder entry.", "category": "correctness", "verdict": "supported", "prio...
null
apache__flink__27605
apache/flink
27,605
defect
1779d20a28f5d43410138314fe3292d0e64f3148
846a993f420e1d0b01d394fd7e235483b7e5f17b
[FLINK-39081] Add ARTIFACT keyword option in CREATE FUNCTION's USING clause
## What is the purpose of the change The purpose of this change is to add the `ARTIFACT` keyword as a permissible keyword as elucidated in [FLIP-559](https://cwiki.apache.org/confluence/display/FLINK/FLIP-559%3A+Add+ARTIFACT+keyword+option+in+CREATE+FUNCTION%27s+USING+clause), to better support in future creation o...
diff --git a/flink-table/flink-sql-parser/src/main/codegen/data/Parser.tdd b/flink-table/flink-sql-parser/src/main/codegen/data/Parser.tdd index f0582dfe31ecc1..39597e372878d0 100644 --- a/flink-table/flink-sql-parser/src/main/codegen/data/Parser.tdd +++ b/flink-table/flink-sql-parser/src/main/codegen/data/Parser.tdd @...
3
3
0
[{"id": "G0", "claim": "The ARTIFACT keyword in the Parser.tdd keyword list should be placed one line up to keep alphabetical order.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ParserResource method name createFunctionUsingJar should be c...
null
apache__flink__27635
apache/flink
27,635
defect
2db7996c95fd02eafc59c0dfd08ad9f726170266
8e01e8e75ce89486f58aa3f72cb6eb3bcb3dcffc
[FLINK-38613][tests] Force number of splits in UnalignedCheckpointRescaleWithMixedExchangesITCase
Motivation: avoid sub-tasks finishing prematurely and fail the test assumption of all sub-tasks always running
diff --git a/flink-core/src/main/java/org/apache/flink/api/connector/source/lib/NumberSequenceSource.java b/flink-core/src/main/java/org/apache/flink/api/connector/source/lib/NumberSequenceSource.java index 53e6a2832b7be4..4b7dfd5d3da79d 100644 --- a/flink-core/src/main/java/org/apache/flink/api/connector/source/lib/Nu...
1
1
1
[{"id": "G0", "claim": "The hard-coded split count of 10 in NumberSequenceSource.createEnumerator is a production-code hack for what is only a test need; the test should instead subclass DataGeneratorSource and override createEnumerator() to always create at least MAX_SLOTS splits, scoped to the test only with no produ...
null
apache__flink__27638
apache/flink
27,638
defect
841346187bbabf3310f80f10cf5cb4b8d654948c
e6dff49fa238dbce3f0f34d2fcb513970c44adb6
[FLINK-39073][runtime] Defer alignment check for idle splits
## What is the purpose of the change If a split emits watermarks far into the future and then goes idle, alignment check will incorrectly mark it paused. As max allowed watermark advances, Source operator will transition the split back to active state, (while its still idle) This change aims to fix the issue by de...
diff --git a/flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/SourceOperator.java b/flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/SourceOperator.java index 12723254ffc4f..02273b20dd56c 100644 --- a/flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/SourceOper...
1
1
0
[{"id": "G0", "claim": "Add an assertion that the idle split has not been paused when the alignment check fires.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__flink__27639
apache/flink
27,639
defect
d70714cdaefc5393abae0c46e2a7701943adba29
2ce7b692189d7ea3fc40a6f2da5d9ffe0ebb7d25
[FLINK-38541][checkpoint] Expose checkpointing during recovery config option in documentation
This PR depends on https://github.com/apache/flink/pull/27782, https://github.com/apache/flink/pull/27783, https://github.com/apache/flink/pull/27861 and https://github.com/apache/flink/pull/27862 ## What is the purpose of the change - [FLIP-547: Support checkpoint during recovery](https://cwiki.apache.org/con...
diff --git a/docs/layouts/shortcodes/generated/checkpointing_configuration.html b/docs/layouts/shortcodes/generated/checkpointing_configuration.html index 6383e0bfc3408..4c1945cdca212 100644 --- a/docs/layouts/shortcodes/generated/checkpointing_configuration.html +++ b/docs/layouts/shortcodes/generated/checkpointing_co...
1
1
1
[{"id": "G0", "claim": "The new option should not live under execution.checkpointing.unaligned: since the feature allows triggering any type of checkpoint during recovery, its key should drop `unaligned` so the name reflects the user-facing behavior.", "category": "design", "verdict": "supported", "priority": "P1", "sc...
null
apache__flink__27642
apache/flink
27,642
defect
b1192e8a8e8d2756388394acf42d58a38b419cd3
183bee77d1e6f3d6c99695f68de4fcfcedc24eab
[FLINK-39130][metrics] Allow native types in MetricConfig
## What is the purpose of the change This allows using native types for the MetricConfig. Example usage is for [FLIP-553](https://cwiki.apache.org/confluence/display/FLINK/FLIP-553%3A+Robust+OTel+gRPC+metric+exporter) to allow configuring metric export batch size as: 1500 rather than "1500" ## Brief change log * A...
diff --git a/flink-metrics/flink-metrics-core/src/main/java/org/apache/flink/metrics/MetricConfig.java b/flink-metrics/flink-metrics-core/src/main/java/org/apache/flink/metrics/MetricConfig.java index 2ff0426ad5ae8c..b9fcafb5f2d8ac 100644 --- a/flink-metrics/flink-metrics-core/src/main/java/org/apache/flink/metrics/Met...
3
2
0
[{"id": "G0", "claim": "All existing callers of MetricConfig still call getString, so the FLIP/PR is missing a follow-up task (or in-PR changes) to switch those callers to the appropriate native getters.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
apache__flink__27662
apache/flink
27,662
defect
4e088dec0f24e845809606ddacc2391dadfe6c73
f9c230a1ac7aaf263b16885f32fa4ddc3a52ded2
[FLINK-39151][metrics] Hide warning about UnixOperatingSystemMXBean missing on Windows
## What is the purpose of the change Removes a scarily-looking warning shown when running Flink on Windows. It's not "UNIX", so `UnixOperatingSystemMXBean` will never be available. ## Brief change log - hidden warning message on Windows - added test exclusion for Windows OS ## Verifying this change ...
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/util/MetricUtils.java b/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/util/MetricUtils.java index 915548be41a519..6f3b1a630b2dc3 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/util/MetricUtils.java +++ b/...
1
1
1
[{"id": "G0", "claim": "The warning messages should be refined so users are informed when initialization fails and certain features have been disabled.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__flink__27674
apache/flink
27,674
defect
9964ab4bd1b8334dec9388e1e4dac68c94488691
0b024da4b91551c432b8b4f663fece1f16b87f8b
[FLINK-39157][table-common] Add ColumnList.hashCode()/equals()
## What is the purpose of the change Improves the quality of `ColumnList`. ## Brief change log - hashCode/equals - error behavior ## Verifying this change This change added tests and can be verified as follows: - `ColumnListTest` ## Does this pull request potentially affect one of the following part...
diff --git a/flink-table/flink-table-common/src/main/java/org/apache/flink/types/ColumnList.java b/flink-table/flink-table-common/src/main/java/org/apache/flink/types/ColumnList.java index bc70a660662f31..375ffbb29a71ff 100644 --- a/flink-table/flink-table-common/src/main/java/org/apache/flink/types/ColumnList.java +++...
2
1
0
[{"id": "G0", "claim": "The test methods should build their fixed input lists with List.of(...) instead of mutable Arrays.asList(...) copies.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The constructor should check that all names are unique, ...
null
apache__flink__27684
apache/flink
27,684
defect
4fb13082da9e15eaa20392db0f1ad21e83349cfa
820c915415c5b1de664d0c63a3d85a7a713bc94f
[FLINK-39167][runtime] Initialize source output before emitting final watermark
After FLINK-38939 / #27440, if the source operator was stopped while waiting for the first checkpoint then the output needs to be initialized so final watermark can be emitted; otherwise, final checkpoint might fail with ``` java.lang.IllegalStateException: null at org.apache.flink.util.Preconditions.checkState a...
diff --git a/flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/SourceOperator.java b/flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/SourceOperator.java index 433fdfd31105dd..4b3691db8a1b57 100644 --- a/flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/SourceOp...
2
1
0
[{"id": "G0", "claim": "The reviewer asks the author to describe this problem (the output needing initialization before the final watermark is emitted) in the commit message and in the Jira ticket.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
apache__flink__27688
apache/flink
27,688
defect
f6fffd7d33f617acc69f405deecf050ef710d439
a4ef930e5bc0e2c34d73818fcd139fcf9c379794
[FLINK-39140][checkpoint] Allow multiple rescales in Unaligned Checkpoint ITCases to perform checkpointing during recovery
## What is the purpose of the change Current Unaligned Checkpoint ITCases only restart once from a normal checkpoint. They do not cover restoring from a checkpoint produced by recovery phase — which is the key scenario for checkpointing during recovery. Proposed mechanism: After restoring from a checkpoint, wait ...
diff --git a/flink-runtime/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java b/flink-runtime/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java index 07167659cb04f2..a07d5ee3915aa8 100644 --- a/flink-runtime/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java ...
2
1
1
[{"id": "G0", "claim": "The execute() test should keep a non-restore variant, either by adding this as a new test or keeping the original path, so test coverage for the non-restore case is preserved.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Topolog...
null
apache__flink__27697
apache/flink
27,697
defect
97dd9f672f72b2c0e585ee13dc9dec8f5d174174
e9e8c8c4195372a076f4b8f70029be9d49f778e2
[FLINK-39150][runtime] Fix join operator crashes jobs when using custom types or custom type serializers
## What is the purpose of the change This bug is caused by two factors that jointly lead to deserialization failures: **Cause 1: The whitelist-based routing strategy of `PlannerComponentClassLoader` prevents fallback to the parent for non-whitelisted classes.** `PlannerComponentClassLoader` uses a strict **whi...
diff --git a/flink-end-to-end-tests/flink-end-to-end-tests-table-api/src/test/java/org/apache/flink/table/test/join/JoinDeserializationITCase.java b/flink-end-to-end-tests/flink-end-to-end-tests-table-api/src/test/java/org/apache/flink/table/test/join/JoinDeserializationITCase.java new file mode 100644 index 0000000000...
2
2
2
[{"id": "G0", "claim": "Even with the patch applied, Flink's JobManager still crashes with a fatal ClusterEntrypoint error after the job JAR is uploaded when user classes are not mixed with Flink classes, because the AdaptiveJoin instance still fails to deserialize at runtime.", "category": "correctness", "verdict": "s...
null
apache__flink__27707
apache/flink
27,707
defect
4a1bb524fa637605b845f577c11633e307305154
d07d53474d095992f9c104cfce01ac905e1fd51b
[FLINK-39022][security] Set security.ssl.algorithms default value to modern cipher suite
cherry-picked from 26cecfc14dc95f677d9187d47c4551a3caa266c1 docs/content/release-notes/flink-2.2.md has been additionally updated.
diff --git a/docs/content.zh/docs/deployment/security/security-ssl.md b/docs/content.zh/docs/deployment/security/security-ssl.md index baa3fc2091ed6..36179b3b786f6 100644 --- a/docs/content.zh/docs/deployment/security/security-ssl.md +++ b/docs/content.zh/docs/deployment/security/security-ssl.md @@ -150,20 +150,16 @@ s...
2
1
1
[{"id": "G0", "claim": "The new docs/content/release-notes/flink-2.2.md should be based on the flink-2.2.md from the master branch, with the FLINK-39022 security update content added, instead of the partial file with the wrong 'Release Notes - Flink 2.3' title that the PR adds.", "category": "documentation", "verdict":...
null
apache__flink__27720
apache/flink
27,720
defect
9f20f1d0e5cdf3168b294284114ea9ace06576a4
5a4ad3b2296e603ba81ea2ff302976d8149b4fc0
[FLINK-39183][table] Support BITMAP type in Calcite parser
## What is the purpose of the change This pull request adds parsing support for the `BITMAP` data type in Flink's Calcite-based SQL parser. ## Brief change log - Added `BITMAP` keyword and parser rule via `Parser.tdd` and `parserImpls.ftl` - Introduced `SqlBitmapTypeNameSpec` following the same pattern as...
diff --git a/flink-table/flink-sql-parser/src/main/codegen/templates/Parser.jj b/flink-table/flink-sql-parser/src/main/codegen/templates/Parser.jj index 1bb939a46fa671..3646ba59b19ef5 100644 --- a/flink-table/flink-sql-parser/src/main/codegen/templates/Parser.jj +++ b/flink-table/flink-sql-parser/src/main/codegen/templ...
5
5
2
[{"id": "G0", "claim": "The BITMAP token should not be added by hand-editing Parser.jj without good justification — the parsing should be done without modifying Parser.jj (or the change should first be merged into Calcite and then ported here, removing it once Flink bumps to that Calcite version).", "category": "design...
null
apache__flink__27728
apache/flink
27,728
defect
9f20f1d0e5cdf3168b294284114ea9ace06576a4
1312f6e827f26342d79ee64999b1f65c48a9e0cc
[FLINK-39195][Table SQL/API] ObjectPath should implement Comparable
## What is the purpose of the change This pull request makes `ObjectPath` implement the `Comparable<ObjectPath>` interface, enabling natural ordering of `ObjectPath` instances. This allows users to sort catalog object paths (e.g., in `TreeMap`, `TreeSet`, or `Collections.sort()`) by database name first, then by obje...
diff --git a/flink-python/pyflink/table/catalog.py b/flink-python/pyflink/table/catalog.py index 40bb06c8eb4e88..bd8a0b30009c17 100644 --- a/flink-python/pyflink/table/catalog.py +++ b/flink-python/pyflink/table/catalog.py @@ -1251,6 +1251,21 @@ def get_object_name(self) -> str: def get_full_name(self) -> str: ...
1
1
1
[{"id": "G0", "claim": "Python tests should be added for the new comparison operations to exercise the happy paths and potential edge cases, such as comparisons against non-`ObjectPath` objects which the reviewer believes might return `False` unexpectedly from the `isinstance()` check.", "category": "testing", "verdict...
null
apache__flink__27733
apache/flink
27,733
defect
9da78118bee862729cf68ce1a1e2a992a30c78a5
3f3532dba0f8f561e16904b3328fd14aed700057
[FLINK-39202][table] Add new SimplifyCoalesceWithEquiJoinConditionRule
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please un...
diff --git a/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/rules/logical/SimplifyCoalesceWithEquiJoinConditionRule.java b/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/rules/logical/SimplifyCoalesceWithEquiJoinConditionRule.java new file mode 10064...
8
4
0
[{"id": "G0", "claim": "The rule should use LogicalTypeCast#supportsImplicitCast instead of raw type equality when deciding whether a CAST is needed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer asks whether COALESCE calls inside the join...
null
apache__flink__27743
apache/flink
27,743
defect
5af78e24cc0f8cd6f5d4596a1e140b3aba7c7429
b55f1944793951e747832b67d39985cd8330918e
[FLINK-38704][metrics] Fix MetricConfig.getString() to handle numeric values
<!-- *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.* *Please un...
diff --git a/flink-core/src/main/java/org/apache/flink/configuration/Configuration.java b/flink-core/src/main/java/org/apache/flink/configuration/Configuration.java index d7294752788b77..34f3c67ed44da3 100644 --- a/flink-core/src/main/java/org/apache/flink/configuration/Configuration.java +++ b/flink-core/src/main/java...
3
1
1
[{"id": "G0", "claim": "entry.getValue() in DelegatingConfiguration.addAllToProperties may be null at the new props.put(keyWithoutPrefix, entry.getValue().toString()) call, and a test for that case should be added.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
apache__flink__27757
apache/flink
27,757
defect
f71c6a16c971eb388ab5e79e931e6d43f0623c37
4352f9e46d429c87f3e387b93ffed3bbb125e222
[FLINK-39244][table] Support precision 0-9 for TO_TIMESTAMP_LTZ function
## What is the purpose of the change This pull request extends the `TO_TIMESTAMP_LTZ` function to support all precision values from 0 to 9, where precision specifies the unit of the epoch value as 10^(-precision) seconds. Previously only 0 (seconds) and 3 (milliseconds) were supported, which limited users working wi...
diff --git a/docs/data/sql_functions.yml b/docs/data/sql_functions.yml index 0be8e6c9ca2876..aa44cfe28ab25a 100644 --- a/docs/data/sql_functions.yml +++ b/docs/data/sql_functions.yml @@ -687,7 +687,7 @@ temporal: description: Converts a date string string1 with format string2 (by default 'yyyy-MM-dd') to a date. ...
8
7
3
[{"id": "G0", "claim": "The precision handling in this PR (dealing with precisions like 7) may be inconsistent with PR 27770, whose code rounds to 3, 6, or 9.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The rewritten numeric-variant description drops us...
null
apache__flink__27784
apache/flink
27,784
defect
01a84892675e0326cd294bfcced7d28626dbb46c
bc36a5b56fb86225dfdf517d3d09c05e5a962b11
[FLINK-38815] Mask sensitive values in Pekko configuration logs
This PR depends on https://issues.apache.org/jira/browse/FLINK-38815 ## What is the purpose of the change This pull request fixes a security issue where sensitive values in the Pekko RPC configuration were logged in plain text. The Pekko configuration is based on Typesafe Config and was directly logged, bypass...
diff --git a/flink-rpc/flink-rpc-akka/src/main/java/org/apache/flink/runtime/rpc/pekko/ActorSystemBootstrapTools.java b/flink-rpc/flink-rpc-akka/src/main/java/org/apache/flink/runtime/rpc/pekko/ActorSystemBootstrapTools.java index 517a48669e688..7a21017025361 100644 --- a/flink-rpc/flink-rpc-akka/src/main/java/org/apac...
3
3
2
[{"id": "G0", "claim": "Masking the whole config into a map on every actor system startup is expensive even when debug logging is disabled; it should be wrapped in an isDebugEnabled() check.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Nit: the in...
null
apache__flink__27794
apache/flink
27,794
defect
564840f7f45175070c5a9cdc733e1a8e1a6d405d
883eee5aaaa73412027acc034d4cc0900e9fac41
[FLINK-39276][table] `CREATE OR ALTER MATERIALIZED TABLE` should respect nullability defined in schema
## What is the purpose of the change The problem is that if there is existing materialized table `mt` with schema ``` `a` BIGINT NOT NULL, `b` STRING, `c` INT, `d` STRING ``` and then we use `CREATE OR ALTER` like ```sql CREATE OR ALTER MATERIALIZED TABLE mt ( `a` BIGINT NOT NULL, `b` STRING, `c` INT, `d...
diff --git a/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/converters/materializedtable/AbstractCreateMaterializedTableConverter.java b/flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/converters/materializedtable/AbstractCreateMaterialize...
1
1
0
[{"id": "G0", "claim": "The test comment should read \"If NOT NULL is defined in schema, it should stay\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__flink__27834
apache/flink
27,834
defect
af98780a0fe528b0a944ae09a24f8325b4857e52
8793872b0f991e0b8d55e1fa1f8e28eed654f2b7
[FLINK-39309][runtime] Check terminated applications for duplication
## What is the purpose of the change This pull request fixes a missing validation that prevented the detection of duplicate terminated applications during submission and recovery. ## Brief change log - Implement duplicate detection for terminated applications during submission. - Automatically shut down the...
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/ApplicationStatus.java b/flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/ApplicationStatus.java index f50374712747a1..94707eb6c7e644 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework...
3
3
2
[{"id": "G0", "claim": "The comment should say the check is whether the application was submitted and is already cleaned up, not merely that it is already cleaned up.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The catch block around getCleanAp...
null