ksmou commented on code in PR #8945:
URL: https://github.com/apache/hudi/pull/8945#discussion_r1229591311
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieClusteringJob.java:
##########
@@ -87,7 +87,7 @@ public static class Config implements Serializable {
public int parallelism = 1;
@Parameter(names = {"--spark-master", "-ms"}, description = "Spark master")
public String sparkMaster = null;
- @Parameter(names = {"--spark-memory", "-sm"}, description = "spark memory
to use", required = true)
+ @Parameter(names = {"--spark-memory", "-sm"}, description = "spark memory
to use", required = false)
public String sparkMemory = null;
Review Comment:
In the defallt way, we must use `spark-submit --executor-memory=4g
--spark-memory=4g`. However, we only use `spark-submit --executor-memory=4g`
can meet. It's no need to keep option `required=true` for `spark-memory`.
--
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]