kywe665 commented on a change in pull request #4010:
URL: https://github.com/apache/hudi/pull/4010#discussion_r752668509



##########
File path: website/docs/clustering.md
##########
@@ -165,7 +165,8 @@ With the release of Hudi version 0.9.0, we can schedule as 
well as execute clust
 specify the `—mode` or `-m` option. There are three modes:
 
 1. `schedule`: Make a clustering plan. This gives an instant which can be 
passed in execute mode.
-2. `execute`: Execute a clustering plan at given instant which means 
--instant-time is required here.
+2. `execute`: Execute a clustering plan at a given instant which means 
--instant-time is required. 

Review comment:
       Good call, since docs are versioned, the doc needs to describe current 
state, those that want to understand previous versions go to old versions of 
docs. I updated, thanks

##########
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>\

Review comment:
       fixed




-- 
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]


Reply via email to