[ 
https://issues.apache.org/jira/browse/HUDI-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387684#comment-17387684
 ] 

ASF GitHub Bot commented on HUDI-2219:
--------------------------------------

danny0405 commented on pull request #3342:
URL: https://github.com/apache/hudi/pull/3342#issuecomment-887154770


   > @danny0405 thanks for providing this fix. For my understanding, can you 
explain in which case would it throw NPE w/o synchronized?
   
   The code for `ReflectionUtils.getClass` is not thread safe, and it may 
produce null value, then `HoodieConfig.setDefaults` throws NPE for that.


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


> Fix NPE of HoodieConfig
> -----------------------
>
>                 Key: HUDI-2219
>                 URL: https://issues.apache.org/jira/browse/HUDI-2219
>             Project: Apache Hudi
>          Issue Type: Bug
>          Components: Compaction
>            Reporter: Danny Chen
>            Assignee: Danny Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.9.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to