1996fanrui opened a new pull request, #869:
URL: https://github.com/apache/flink-kubernetes-operator/pull/869

   ## What is the purpose of the change
   
   AggregatedMetric added the skew field in Flink 1.20, it caused the 
AggregatedMetric of old version cannot parse the AggregatedMetric of 1.20.
   
   Following is the root exception:
   
    ```
   Caused by: 
org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException:
 Unrecognized field "skew" (class 
org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetric), not 
marked as ignorable (5 known properties: "min", "id", "max", "avg", "sum"])
    at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: 
java.util.ArrayList[0]->org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetric["skew"])
   ```
   
   
   
   ## Brief change log
   
   Copy AggregatedMetric to this repo, and removing it after upgrading maven 
dependency to 1.20. 
   
   ## Verifying this change
   
   Added the CI to run with 1.20.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changes to the `CustomResourceDescriptors`: 
no
     - Core observer or reconciler logic that is regularly executed: no
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
   


-- 
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-unsubscr...@flink.apache.org

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

Reply via email to