nsivabalan commented on code in PR #6974:
URL: https://github.com/apache/hudi/pull/6974#discussion_r997763313


##########
hudi-cli/src/main/java/org/apache/hudi/cli/commands/ClusteringCommand.java:
##########
@@ -148,4 +154,58 @@ public String runClustering(
     }
     return "Succeeded to run clustering for scheduleAndExecute";
   }
+
+  /**
+   * Roll back incomplete clustering action, deleting the data files written
+   * and the replacecommit from the active timeline.
+   * <p>
+   * Example:
+   * > connect --path {path to hudi table}
+   * > clustering rollback --clusteringInstant  --sparkMaster local 
--sparkMemory 2g
+   */
+  @ShellMethod(key = "clustering rollback", value = "Roll back incomplete 
clustering action, "

Review Comment:
   shouldn't this go into RollbacksCommand class ?



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