kywe665 commented on a change in pull request #4010:
URL: https://github.com/apache/hudi/pull/4010#discussion_r752668955
##########
File path: website/docs/compaction.md
##########
@@ -74,22 +67,46 @@ spark-submit --packages
org.apache.hudi:hudi-utilities-bundle_2.11:0.6.0 \
--continous
```
-### Hudi CLI
-Hudi CLI is yet another way to execute specific compactions asynchronously.
Here is an example
+## Executing Async Compaction
+After compactions have been asynchronously scheduled on the Hudi Timeline, you
can now execute those compactions with one of the following options
-```properties
-hudi:trips->compaction run --tableName <table_name> --parallelism
<parallelism> --compactionInstant <InstantTime>
-...
-```
+### Hudi Compactor Utility
+Hudi provides a standalone tool to execute specific compactions
asynchronously. Below is an example and you can read more in the [deployment
guide](/docs/deployment#compactions)
-### Hudi Compactor Script
-Hudi provides a standalone tool to also execute specific compactions
asynchronously. Below is an example and you can read more in the [deployment
guide](/docs/next/deployment#compactions)
+:::info
+Note: As of version 0.10.0, the `instant-time` parameter is no longer required
for the Hudi Compactor Utility. Each spark-submit will execute the earliest
scheduled compaction on the Hudi timeline.
+:::
```properties
spark-submit --packages org.apache.hudi:hudi-utilities-bundle_2.11:0.6.0 \
--class org.apache.hudi.utilities.HoodieCompactor \
--base-path <base_path> \
--table-name <table_name> \
---instant-time <compaction_instant> \
---schema-file <schema_file>
+--schema-file <schema_file>\
+--instant-time <compaction_instant>
```
+
+### Hudi CLI
+Hudi CLI is yet another way to execute specific compactions asynchronously.
Here is an example and you can read more in the [deployment
guide](/docs/deployment#compactions)
+
+```properties
+hudi:trips->compaction run --tableName <table_name> --parallelism
<parallelism> --compactionInstant <InstantTime>
+...
+```
+
Review comment:
I have it linked just above this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]