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

   ## Desc
   I encountered an issue while upgrading Flink from version 1.14 to 1.18. 
After the upgrade, I noticed that some monitoring metrics were not being 
reported to InfluxDB.
   Upon checking the Job Manager (JM) logs, I found an error indicating that 
the previously used classes are no longer supported. However, there seems to be 
an oddly phrased error message that looks like it might have been written 
incorrectly.
   
   The error message reads: "The reporter configuration of '{}' configures the 
reporter class, which is no a no longer supported approach to configure 
reporters." + " Please configure a factory class instead:"
   
   I believe the correct phrasing should be: "The reporter configuration of 
'{}' configures the reporter class, which is a no longer supported approach to 
configure reporters." + " Please configure a factory class instead:"
   
   It appears that the words "no a" were accidentally added, making the 
sentence grammatically incorrect and potentially confusing for users.
   
   ## What is the purpose of the change
   
   Fix incorrect warning msg in JM log when use metric reporter
   
   ## Brief change log
   
   Just warning log print
   
   The error message reads: "The reporter configuration of '{}' configures the 
reporter class, which is no a no longer supported approach to configure 
reporters." + " Please configure a factory class instead:"
   I believe the correct phrasing should be: "The reporter configuration of 
'{}' configures the reporter class, which is a no longer supported approach to 
configure reporters." + " Please configure a factory class instead:"
   
   
![image](https://github.com/apache/flink/assets/20400582/14b6c38d-933e-4517-a2f8-386967c8e553)
   
   
   ## Verifying this change
   
   No need to test
   
   ## 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 changed class annotated with 
`@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no )
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
     - The S3 file system connector: (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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to