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

   ### Change Logs
   
   for https://github.com/apache/hudi/issues/8257
   
   After hbase 2.4.13, the constructor of `ReaderContext` has changed, and a 
configuration needs to be fetched through hfs,  
   But currently hudi will pass hfs as null, which will cause NPE
   
   hbase 2.4.13+:
   
https://github.com/apache/hbase/blob/90fb1ddc1df9b345f26687d5d24cedfb19621d63/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/ReaderContext.java#L53
   
   hbase 2.4.9: (hudi use)
   
https://github.com/apache/hbase/blob/c49f7f63fca144765bf7c2da41791769286dfccc/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/ReaderContext.java#L50
   
   ### Impact
   
   Avoid potential risk of NPE caused by upgrading hbase in the future
   
   ### Risk level (write none, low medium or high below)
   
   low
   
   ### Documentation Update
   
   None
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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