[HUDI-2985] Shade jackson for hudi flink bundle jar (#4284)
This commit is contained in:
@@ -377,6 +377,9 @@ public class StreamWriteOperatorCoordinator
|
|||||||
if (allEventsReceived()) {
|
if (allEventsReceived()) {
|
||||||
// start to commit the instant.
|
// start to commit the instant.
|
||||||
commitInstant(this.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.
|
// sync Hive if is enabled in batch mode.
|
||||||
syncHiveIfEnabled();
|
syncHiveIfEnabled();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -227,6 +227,10 @@
|
|||||||
<pattern>com.esotericsoftware.kryo.</pattern>
|
<pattern>com.esotericsoftware.kryo.</pattern>
|
||||||
<shadedPattern>${flink.bundle.shade.prefix}com.esotericsoftware.kryo.</shadedPattern>
|
<shadedPattern>${flink.bundle.shade.prefix}com.esotericsoftware.kryo.</shadedPattern>
|
||||||
</relocation>
|
</relocation>
|
||||||
|
<relocation>
|
||||||
|
<pattern>com.fasterxml.jackson.</pattern>
|
||||||
|
<shadedPattern>${flink.bundle.shade.prefix}com.fasterxml.jackson.</shadedPattern>
|
||||||
|
</relocation>
|
||||||
</relocations>
|
</relocations>
|
||||||
<filters>
|
<filters>
|
||||||
<filter>
|
<filter>
|
||||||
|
|||||||
Reference in New Issue
Block a user