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

   ### Describe the issue this Pull Request addresses
   
   Fix NPE error when Hudi metrics is disabled
   
   ### Summary and Changelog
   
   1. add safe guard for metrics creation when hudi metrics is disabled
   2. add more test coverages 
   
   ### Impact
   
   none
   
   ### Risk Level
   
   none
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Enough context is provided in the sections above
   - [ ] Adequate tests were added if applicable
   


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