yihua commented on code in PR #9008:
URL: https://github.com/apache/hudi/pull/9008#discussion_r1234688767


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/DeltaSync.java:
##########
@@ -208,9 +208,9 @@ public class DeltaSync implements Serializable, Closeable {
   private transient FileSystem fs;
 
   /**
-   * Spark context.
+   * Spark context Wrapper.
    */
-  private transient JavaSparkContext jssc;
+  private transient HoodieSparkEngineContext sparkContext;

Review Comment:
   this should be final.



##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/HoodieDeltaStreamer.java:
##########
@@ -616,9 +619,9 @@ public static class DeltaSyncService extends 
HoodieIngestionService {
     private transient SparkSession sparkSession;
 
     /**
-     * Spark context.
+     * Spark context Wrapper.
      */
-    private transient JavaSparkContext jssc;
+    private transient HoodieSparkEngineContext sparkContext;

Review Comment:
   this should be final.



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