[HUDI-2985] Shade jackson for hudi flink bundle jar (#4284)
This commit is contained in:
@@ -377,6 +377,9 @@ public class StreamWriteOperatorCoordinator
|
||||
if (allEventsReceived()) {
|
||||
// start to commit the instant.
|
||||
commitInstant(this.instant);
|
||||
// The executor thread inherits the classloader of the #handleEventFromOperator
|
||||
// caller, which is a AppClassLoader.
|
||||
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
|
||||
// sync Hive if is enabled in batch mode.
|
||||
syncHiveIfEnabled();
|
||||
}
|
||||
|
||||
@@ -227,6 +227,10 @@
|
||||
<pattern>com.esotericsoftware.kryo.</pattern>
|
||||
<shadedPattern>${flink.bundle.shade.prefix}com.esotericsoftware.kryo.</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>com.fasterxml.jackson.</pattern>
|
||||
<shadedPattern>${flink.bundle.shade.prefix}com.fasterxml.jackson.</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
<filters>
|
||||
<filter>
|
||||
|
||||
Reference in New Issue
Block a user