You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/07/29 03:19:11 UTC

[GitHub] [flink] bzhaoopenstack opened a new pull request, #20390: [FLINK-28481][k8s] Bump the fabric8 k8s-client to 5.12.3

bzhaoopenstack opened a new pull request, #20390:
URL: https://github.com/apache/flink/pull/20390

   community hits FLINK-28481 mentioned issue, which will cause a Multiple
   K8S-server lose the leadership in fabric8 5.5.0.  So plan to bump the
   fabric8 version from 5.5.0 to 5.12.3
   
   
   <!--
   *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 understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
     
     - Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where *FLINK-XXXX* should be replaced by the actual issue number. Skip *component* if you are unsure about which is the best component.
     Typo fixes that have no associated JIRA issue should be named following this pattern: `[hotfix] [docs] Fix typo in event time introduction` or `[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes. You can set up Azure Pipelines CI to do that following [this guide](https://cwiki.apache.org/confluence/display/FLINK/Azure+Pipelines#AzurePipelines-Tutorial:SettingupAzurePipelinesforaforkoftheFlinkrepository).
   
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message (including the JIRA id)
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   ## What is the purpose of the change
   
   The current fabric8 kubernetes-client(5.5.0) will swallow the KubernetesClientException and then the next renewing could not work properly until reach the deadline. This will be a serious problem because one time failure of renewing leader annotation will cause leadership lost. And refer the [issue](https://github.com/fabric8io/kubernetes-client/issues/4246), the said issue got progressed in the latest version 5.12.3
   
   ## Brief change log
   
   Upgrade the fabric8 version to 5.12.3 and the associated dependencies to the right versions.
   
   ## Verifying this change
   
     - regression test needed for the associated parts in flink-k8s component.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (yes / no / don't know)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes)
     - The S3 file system connector: ( no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] SteNicholas commented on a diff in pull request #20390: [FLINK-28481][k8s] Bump the fabric8 k8s-client to 5.12.3

Posted by GitBox <gi...@apache.org>.
SteNicholas commented on code in PR #20390:
URL: https://github.com/apache/flink/pull/20390#discussion_r941943372


##########
flink-kubernetes/src/main/resources/META-INF/NOTICE:
##########
@@ -14,27 +14,27 @@ This project bundles the following dependencies under the Apache Software Licens
 - com.squareup.okhttp3:logging-interceptor:3.14.9

Review Comment:
   Please check whether the `okhttp3 ` dependencies has any change.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] wangyang0918 commented on pull request #20390: [FLINK-28481][k8s] Bump the fabric8 k8s-client to 5.12.3

Posted by GitBox <gi...@apache.org>.
wangyang0918 commented on PR #20390:
URL: https://github.com/apache/flink/pull/20390#issuecomment-1210089927

   Using the following command to get the bundled dependencies and verified.
   
   ```
   cd flink-kubernetes
   mvn clean install -DskipTests | grep Including | grep -v org.apache.flink | cut -d' ' -f3 | sort | sed s/:jar//g >/tmp/3
   ```
   
   ```
   com.fasterxml.jackson.core:jackson-annotations:2.13.2
   com.fasterxml.jackson.core:jackson-core:2.13.2
   com.fasterxml.jackson.core:jackson-databind:2.13.2.2
   com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.2
   com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.2
   com.squareup.okhttp3:logging-interceptor:3.14.9
   com.squareup.okhttp3:okhttp:3.14.9
   com.squareup.okio:okio:1.17.2
   dk.brics.automaton:automaton:1.11-8
   io.fabric8:kubernetes-client:5.12.3
   io.fabric8:kubernetes-model-admissionregistration:5.12.3
   io.fabric8:kubernetes-model-apiextensions:5.12.3
   io.fabric8:kubernetes-model-apps:5.12.3
   io.fabric8:kubernetes-model-autoscaling:5.12.3
   io.fabric8:kubernetes-model-batch:5.12.3
   io.fabric8:kubernetes-model-certificates:5.12.3
   io.fabric8:kubernetes-model-common:5.12.3
   io.fabric8:kubernetes-model-coordination:5.12.3
   io.fabric8:kubernetes-model-core:5.12.3
   io.fabric8:kubernetes-model-discovery:5.12.3
   io.fabric8:kubernetes-model-events:5.12.3
   io.fabric8:kubernetes-model-extensions:5.12.3
   io.fabric8:kubernetes-model-flowcontrol:5.12.3
   io.fabric8:kubernetes-model-metrics:5.12.3
   io.fabric8:kubernetes-model-networking:5.12.3
   io.fabric8:kubernetes-model-node:5.12.3
   io.fabric8:kubernetes-model-policy:5.12.3
   io.fabric8:kubernetes-model-rbac:5.12.3
   io.fabric8:kubernetes-model-scheduling:5.12.3
   io.fabric8:kubernetes-model-storageclass:5.12.3
   io.fabric8:zjsonpatch:0.3.0
   org.yaml:snakeyaml:1.27
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] SteNicholas commented on a diff in pull request #20390: [FLINK-28481][k8s] Bump the fabric8 k8s-client to 5.12.3

Posted by GitBox <gi...@apache.org>.
SteNicholas commented on code in PR #20390:
URL: https://github.com/apache/flink/pull/20390#discussion_r941943372


##########
flink-kubernetes/src/main/resources/META-INF/NOTICE:
##########
@@ -14,27 +14,27 @@ This project bundles the following dependencies under the Apache Software Licens
 - com.squareup.okhttp3:logging-interceptor:3.14.9

Review Comment:
   Please check whether the `okhttp3 ` dependencies has any change.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] SteNicholas commented on pull request #20390: [FLINK-28481][k8s] Bump the fabric8 k8s-client to 5.12.3

Posted by GitBox <gi...@apache.org>.
SteNicholas commented on PR #20390:
URL: https://github.com/apache/flink/pull/20390#issuecomment-1210068123

   @bzhaoopenstack, thanks for your contribution. There are a few inconsistencies for NOTICE file. You could refer to [NOTICE](https://github.com/SteNicholas/flink-kubernetes-operator/blob/af4ab7459c46b3df3f72dead2a12a8dadc3c889d/flink-kubernetes-operator/src/main/resources/META-INF/NOTICE) to update the NOTICE file of this pull request.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] flinkbot commented on pull request #20390: [FLINK-28481][k8s] Bump the fabric8 k8s-client to 5.12.3

Posted by GitBox <gi...@apache.org>.
flinkbot commented on PR #20390:
URL: https://github.com/apache/flink/pull/20390#issuecomment-1198841815

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "089a229ba07288b929fd7779a9be9946e4f68449",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "089a229ba07288b929fd7779a9be9946e4f68449",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 089a229ba07288b929fd7779a9be9946e4f68449 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] wangyang0918 merged pull request #20390: [FLINK-28481][k8s] Bump the fabric8 k8s-client to 5.12.3

Posted by GitBox <gi...@apache.org>.
wangyang0918 merged PR #20390:
URL: https://github.com/apache/flink/pull/20390


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org