You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/03/28 08:04:58 UTC

[GitHub] [incubator-hudi] yanghua commented on a change in pull request #1452: [HUDI-740]Fix can not specify the sparkMaster of cleans run command

yanghua commented on a change in pull request #1452: [HUDI-740]Fix can not specify the sparkMaster of cleans run command
URL: https://github.com/apache/incubator-hudi/pull/1452#discussion_r399634497
 
 

 ##########
 File path: hudi-cli/src/main/java/org/apache/hudi/cli/commands/SparkMain.java
 ##########
 @@ -62,7 +63,9 @@ public static void main(String[] args) throws Exception {
 
     SparkCommand cmd = SparkCommand.valueOf(command);
 
-    JavaSparkContext jsc = SparkUtil.initJavaSparkConf("hoodie-cli-" + command);
+    JavaSparkContext jsc = cmd == SparkCommand.CLEAN
 
 Review comment:
   I have the same concern with @pratyakshsharma , can we make other commands also support specifying the spark master?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services