This is an automated email from the ASF dual-hosted git repository.
voonhous pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 2a33d7cf7386 docs(metrics): note that CloudWatch needs hudi-aws-bundle
on Spark (#19473)
2a33d7cf7386 is described below
commit 2a33d7cf7386b0e9dd748533914cdcce3dad13bf
Author: voonhous <[email protected]>
AuthorDate: Tue Aug 4 13:52:12 2026 +0800
docs(metrics): note that CloudWatch needs hudi-aws-bundle on Spark (#19473)
The CloudWatch reporter ships in the optional hudi-aws module, which
hudi-spark-bundle does not shade (hudi-flink-bundle and
hudi-kafka-connect-bundle do). Setting the reporter type to CLOUDWATCH on a
Spark bundle therefore fails to load the reporter class, which is the
complaint in apache/hudi#15293. apache/hudi#19418 makes that failure
actionable; this stops users from reaching it in the first place.
Applied to next and to version-1.2.0, the current released docs.
Closes #19472.
---
website/docs/metrics.md | 5 +++++
website/versioned_docs/version-1.2.0/metrics.md | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/website/docs/metrics.md b/website/docs/metrics.md
index 151d27f5d319..65abaadc1b82 100644
--- a/website/docs/metrics.md
+++ b/website/docs/metrics.md
@@ -133,6 +133,11 @@ In the absence of static AWS credentials being configured,
`DefaultAWSCredential
credentials by checking environment properties. Additional Amazon CloudWatch
reporter specific properties that can be
tuned are in the `HoodieMetricsCloudWatchConfig` class.
+The reporter class ships in the optional `hudi-aws` module, which not every
engine bundle shades:
+`hudi-spark-bundle` does not. If setting the reporter type to "CLOUDWATCH"
fails because
+`org.apache.hudi.aws.metrics.cloudwatch.CloudWatchMetricsReporter` cannot be
loaded, add the
+`hudi-aws-bundle` jar matching your Hudi version to the classpath.
+
### UserDefinedMetricsReporter
Allows users to define a custom metrics reporter.
diff --git a/website/versioned_docs/version-1.2.0/metrics.md
b/website/versioned_docs/version-1.2.0/metrics.md
index 151d27f5d319..65abaadc1b82 100644
--- a/website/versioned_docs/version-1.2.0/metrics.md
+++ b/website/versioned_docs/version-1.2.0/metrics.md
@@ -133,6 +133,11 @@ In the absence of static AWS credentials being configured,
`DefaultAWSCredential
credentials by checking environment properties. Additional Amazon CloudWatch
reporter specific properties that can be
tuned are in the `HoodieMetricsCloudWatchConfig` class.
+The reporter class ships in the optional `hudi-aws` module, which not every
engine bundle shades:
+`hudi-spark-bundle` does not. If setting the reporter type to "CLOUDWATCH"
fails because
+`org.apache.hudi.aws.metrics.cloudwatch.CloudWatchMetricsReporter` cannot be
loaded, add the
+`hudi-aws-bundle` jar matching your Hudi version to the classpath.
+
### UserDefinedMetricsReporter
Allows users to define a custom metrics reporter.