[
https://issues.apache.org/jira/browse/HADOOP-19259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945058#comment-17945058
]
ASF GitHub Bot commented on HADOOP-19259:
-----------------------------------------
steveloughran commented on code in PR #7428:
URL: https://github.com/apache/hadoop/pull/7428#discussion_r2046833230
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java:
##########
@@ -957,9 +1005,22 @@ private static <T extends IOException> T wrapWithMessage(
T exception, String msg) throws T {
Class<? extends Throwable> clazz = exception.getClass();
try {
- Constructor<? extends Throwable> ctor =
clazz.getConstructor(String.class);
- Throwable t = ctor.newInstance(msg);
- return (T)(t.initCause(exception));
+ try {
+ DynConstructors.Ctor<T> ctor =
Review Comment:
nice to see this stuff being used. Lifted from parquet, also in iceberg, so
I'd suspect Ryan Blue as the author
> upgrade to jackson 2.14.3
> -------------------------
>
> Key: HADOOP-19259
> URL: https://issues.apache.org/jira/browse/HADOOP-19259
> Project: Hadoop Common
> Issue Type: Task
> Components: common
> Reporter: PJ Fanning
> Priority: Major
> Labels: pull-request-available
>
> see HADOOP-19230 and HADOOP-18332
> Jackson 2.18 is causing some trouble but Jackson 2.14 has some useful
> changes. I can follow up later and try to use a newer version of Jackson but
> this is a start.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]