hbgstc123 opened a new pull request, #6968:
URL: https://github.com/apache/hudi/pull/6968

   There is a chance to see this error when write data to hudi with flink, and 
slot number per TM is larger than 1.
   
   java.lang.IllegalArgumentException: A metric named 
hudi_table1.lock.acquire.duration already exists
   
   so I add synchronized statement in function 'createTimerForMetrics' to make 
the test and set action atomic to avoid adding a timer multiple times.


-- 
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