jonvex commented on code in PR #7076:
URL: https://github.com/apache/hudi/pull/7076#discussion_r1009716374


##########
hudi-cli/src/main/java/org/apache/hudi/cli/commands/ArchivedCommitsCommand.java:
##########
@@ -206,4 +250,22 @@ private Comparable[] readCommit(GenericRecord record, 
boolean skipMetadata) {
       return new Comparable[] {};
     }
   }
+
+  private void initJavaSparkContext() {

Review Comment:
   I pretty much copied from MetadataCommand.java, but got rid of 
userDefinedMaster arg:
   ```
   private void initJavaSparkContext(Option<String> userDefinedMaster) {
       if (jsc == null) {
         jsc = 
SparkUtil.initJavaSparkContext(SparkUtil.getDefaultConf("HoodieCLI", 
userDefinedMaster));
       }
     }
   ```



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