You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ki...@apache.org on 2022/07/16 02:10:36 UTC

[incubator-seatunnel] branch dev updated: update flinkCommand to sparkCommand in spark example (#2184)

This is an automated email from the ASF dual-hosted git repository.

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 960d3b96f update flinkCommand to sparkCommand in spark example (#2184)
960d3b96f is described below

commit 960d3b96f63ac06ee3567887ebb130002a958264
Author: Xiao Zhao <49...@users.noreply.github.com>
AuthorDate: Sat Jul 16 10:10:30 2022 +0800

    update flinkCommand to sparkCommand in spark example (#2184)
---
 .../org/apache/seatunnel/example/spark/v2/SeaTunnelApiExample.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/seatunnel-examples/seatunnel-spark-connector-v2-example/src/main/java/org/apache/seatunnel/example/spark/v2/SeaTunnelApiExample.java b/seatunnel-examples/seatunnel-spark-connector-v2-example/src/main/java/org/apache/seatunnel/example/spark/v2/SeaTunnelApiExample.java
index c1e07dd75..a4a84986c 100644
--- a/seatunnel-examples/seatunnel-spark-connector-v2-example/src/main/java/org/apache/seatunnel/example/spark/v2/SeaTunnelApiExample.java
+++ b/seatunnel-examples/seatunnel-spark-connector-v2-example/src/main/java/org/apache/seatunnel/example/spark/v2/SeaTunnelApiExample.java
@@ -38,9 +38,9 @@ public class SeaTunnelApiExample {
         sparkCommandArgs.setCheckConfig(false);
         sparkCommandArgs.setVariables(null);
         sparkCommandArgs.setDeployMode(DeployMode.CLIENT);
-        Command<SparkCommandArgs> flinkCommand =
+        Command<SparkCommandArgs> sparkCommand =
                 new SparkCommandBuilder().buildCommand(sparkCommandArgs);
-        Seatunnel.run(flinkCommand);
+        Seatunnel.run(sparkCommand);
     }
 
     public static String getTestConfigFile(String configFile) throws FileNotFoundException, URISyntaxException {