-
Notifications
You must be signed in to change notification settings - Fork 474
[FLINK-27714] Migrate to java-operator-sdk v3 #239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkDeploymentController.java
Outdated
Show resolved
Hide resolved
78a7ccc
to
a048a58
Compare
Getting the following issue intermittently on submitting the
@csviri suggested to remove the status initialization, but the issue still persist.
|
Thanks @morhidi for this nice work, I'll take a closer look today |
fyi @Aitozi I run into an issue while testing with |
Hi, thank you @morhidi for reporting this issue. On the main it's already fixed. After we merged an additional related improvement: https://github.com/java-operator-sdk/java-operator-sdk/pull/1239/files (mainly making the event source ordering more explicit and better unit tested) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit sorry for late response :) It looks very nice 👍🏻 Just left some minor comments.
...s-operator/src/main/java/org/apache/flink/kubernetes/operator/config/FlinkConfigManager.java
Show resolved
Hide resolved
...src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkSessionJobController.java
Outdated
Show resolved
Hide resolved
...es-operator/src/main/java/org/apache/flink/kubernetes/operator/informer/InformerManager.java
Outdated
Show resolved
Hide resolved
...es-operator/src/main/java/org/apache/flink/kubernetes/operator/informer/InformerManager.java
Outdated
Show resolved
Hide resolved
...ava/org/apache/flink/kubernetes/operator/observer/deployment/AbstractDeploymentObserver.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There's a fix for this already operator-framework/java-operator-sdk#1244 |
We have identified a couple of additional corner cases with @csviri |
None of the aforementioned issues are blockers, and the retry mechanism in JOSDK solves them under the hood, but we can wait for another patch/minor release before merging to be completely on the safe side. According to @csviri a new version of JOSDK containing these fixes is expected to be released within 1-2 days. |
+1 for waiting 1-2 days for the JOSDK fixes before merging |
Bumped the JOSDK version to 3.0.2 |
I haven't hit any issues while smoke testing. Thanks @csviri for quickly addressing our findings. |
Thx for reporting, and cooperating on fix of these issues! |
@W-15381639: attempt to remove platform
Hi Folks, started looking at the challenges of a potential java-operator-sdk v3 migration. The main motivation for the upgrade is to enable:
This PR contains basically the necessary changes for the v3 upgrade:
ConfigurationServiceOverrider
EventSourceUtility
InformerManager
based secondary resource lookup was replaced by the built-in functionality in the Operatorcc @wangyang0918 @Aitozi @tweise Trying to create just a working version first without too many changes.