1
0

[MINOR] Improve description (#2113)

This commit is contained in:
dugenkui
2020-09-25 22:21:37 +08:00
committed by GitHub
parent 83d2e03cf7
commit 6837118c21
3 changed files with 6 additions and 5 deletions

View File

@@ -97,8 +97,7 @@ public class Metrics {
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);
}
}

View File

@@ -35,6 +35,6 @@ public class ExampleDataSchemaProvider extends SchemaProvider {
@Override
public Schema getSourceSchema() {
return org.apache.hudi.examples.common.HoodieExampleDataGenerator.avroSchema;
return HoodieExampleDataGenerator.avroSchema;
}
}

View File

@@ -51,8 +51,10 @@ import java.util.stream.Collectors;
* 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