Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ public static void registerGauge(String metricName, final long value) {
guage.setValue(value);
} catch (Exception e) {
// Here we catch all exception, so the major upsert pipeline will not be affected if the
// metrics system
// has some issues.
// metrics system has some issues.
LOG.error("Failed to send metrics: ", e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public ExampleDataSchemaProvider(TypedProperties props, JavaSparkContext jssc) {

@Override
public Schema getSourceSchema() {
return org.apache.hudi.examples.common.HoodieExampleDataGenerator.avroSchema;
return HoodieExampleDataGenerator.avroSchema;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@
* Simple examples of #{@link HoodieWriteClient}.
*
* To run this example, you should
* 1. For running in IDE, set VM options `-Dspark.master=local[2]`
* 2. For running in shell, using `spark-submit`
* <pre>
* 1. For running in IDE, set VM options `-Dspark.master=local[2]`;
* 2. For running in shell, using `spark-submit`.
*</pre>
*
* Usage: HoodieWriteClientExample <tablePath> <tableName>
* <tablePath> and <tableName> describe root path of hudi and table name
Expand Down