[
https://issues.apache.org/jira/browse/HUDI-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404918#comment-17404918
]
ASF GitHub Bot commented on HUDI-2321:
--------------------------------------
hudi-bot edited a comment on pull request #3535:
URL: https://github.com/apache/hudi/pull/3535#issuecomment-905240762
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "2552e618287c46065baa96d9c2972f192fde5266",
"status" : "DELETED",
"url" :
"https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=1883",
"triggerID" : "2552e618287c46065baa96d9c2972f192fde5266",
"triggerType" : "PUSH"
}, {
"hash" : "3349f0e888f939f1db9cb2b099a50a3bbd5e7362",
"status" : "FAILURE",
"url" :
"https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=1902",
"triggerID" : "3349f0e888f939f1db9cb2b099a50a3bbd5e7362",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3349f0e888f939f1db9cb2b099a50a3bbd5e7362 Azure:
[FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=1902)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run travis` re-run the last Travis build
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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]
> Use the caller classloader for ReflectionUtils
> ----------------------------------------------
>
> Key: HUDI-2321
> URL: https://issues.apache.org/jira/browse/HUDI-2321
> Project: Apache Hudi
> Issue Type: Bug
> Components: configs
> Reporter: Zheng yunhong
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.10.0
>
>
> Based on the discussion on stackoverflow:
> https://stackoverflow.com/questions/1771679/difference-between-threads-context-class-loader-and-normal-classloader
> The {{Thread.currentThread().getContextClassLoader()}} should never be used
> because the context classloader is not immutable, user can overwrite it when
> thread switches, it is also nullable.
> The objection here: https://stackoverflow.com/a/36228195 says the the
> {Thread.currentThread().getContextClassLoader()}} is a JDK design error and
> the context classloader is never suggested to be used. The API that needs
> classloader should ask the user to set up the right classloader.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)