public class BootstrapExecutorUtils extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BootstrapExecutorUtils.Config |
| Modifier and Type | Field and Description |
|---|---|
static String |
CHECKPOINT_KEY |
| Constructor and Description |
|---|
BootstrapExecutorUtils(BootstrapExecutorUtils.Config cfg,
org.apache.spark.api.java.JavaSparkContext jssc,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
TypedProperties properties)
Bootstrap Executor.
|
| Modifier and Type | Method and Description |
|---|---|
static SchemaProvider |
createSchemaProvider(String schemaProviderClass,
TypedProperties cfg,
org.apache.spark.api.java.JavaSparkContext jssc) |
void |
execute()
Executes Bootstrap.
|
public static final String CHECKPOINT_KEY
public BootstrapExecutorUtils(BootstrapExecutorUtils.Config cfg, org.apache.spark.api.java.JavaSparkContext jssc, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, TypedProperties properties) throws IOException
cfg - Hudi Streamer Configjssc - Java Spark Contextfs - File Systemproperties - Bootstrap Writer PropertiesIOExceptionpublic static SchemaProvider createSchemaProvider(String schemaProviderClass, TypedProperties cfg, org.apache.spark.api.java.JavaSparkContext jssc) throws IOException
IOExceptionpublic void execute()
throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.