[HUDI-2046] Loaded too many classes like sun/reflect/GeneratedSerializationConstructorAccessor in JVM metaspace (#3121)
Loaded too many classes when use kryo of spark to hudi Co-authored-by: weiwei.duan <weiwei.duan@linkflowtech.com>
This commit is contained in:
@@ -73,6 +73,12 @@ public class WriteStatus implements Serializable {
|
||||
this.random = new Random(RANDOM_SEED);
|
||||
}
|
||||
|
||||
public WriteStatus() {
|
||||
this.failureFraction = 0.0d;
|
||||
this.trackSuccessRecords = false;
|
||||
this.random = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark write as success, optionally using given parameters for the purpose of calculating some aggregate metrics.
|
||||
* This method is not meant to cache passed arguments, since WriteStatus objects are collected in Spark Driver.
|
||||
|
||||
@@ -88,6 +88,9 @@ public class HoodieRecord<T extends HoodieRecordPayload> implements Serializable
|
||||
this.sealed = record.sealed;
|
||||
}
|
||||
|
||||
public HoodieRecord() {
|
||||
}
|
||||
|
||||
public HoodieKey getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user