zhangyuge1 opened a new issue, #2212:
URL: https://github.com/apache/incubator-seatunnel/issues/2212

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   In the previous version , spark used the --jars parameter to specify the 
path of connectors when submitting tasks.
   22/07/19 17:48:23 INFO SparkContainer: Execute SeaTunnel Spark Job: 
${SPARK_HOME}/bin/spark-submit --class 
"org.apache.seatunnel.core.spark.SeatunnelSpark" --name "SeaTunnel" --master 
"local" --deploy-mode "client" **--jars 
"/tmp/spark/seatunnel/connectors/spark/seatunnel-connector-spark-console-2.1.3-SNAPSHOT.jar,/tmp/spark/seatunnel/connectors/spark/seatunnel-connector-spark-fake-2.1.3-SNAPSHOT.jar"**
 --conf "spark.executor.memory=1g" --conf "spark.master=local" --conf 
"spark.executor.cores=1" --conf "spark.app.name=SeaTunnel" --conf 
"spark.executor.instances=2" /tmp/spark/seatunnel/lib/seatunnel-core-spark.jar 
--master local --deploy-mode client --config 
/tmp/fake/fakesource_to_console.conf
   
   But the dev branch does not do this.
   Execute SeaTunnel Spark Job: ${SPARK_HOME}/bin/spark-submit --class 
"org.apache.seatunnel.core.starter.spark.SeatunnelSpark" --name "SeaTunnel" 
--master "local" --deploy-mode "client" --conf "spark.executor.memory=1g" 
--conf "spark.master=local" --conf "spark.executor.cores=1" --conf 
"spark.app.name=SeaTunnel" --conf "spark.executor.instances=2" 
/tmp/spark/seatunnel/lib/seatunnel-spark-starter.jar --master local 
--deploy-mode client --config /tmp/fake/fakesource_to_console.conf
   
   Now when I run org.apache.seatunnel.e2e.spark.v2.fake.FakeSourceToConsoleIT 
test, an error has occurred.
   
![image](https://user-images.githubusercontent.com/49311144/179722721-b7bfa41d-3210-48e3-8267-f06ad16a8693.png)
   
   
   
   ### SeaTunnel Version
   
   dev
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set spark configuration here
     # see available properties defined by spark: 
https://spark.apache.org/docs/latest/configuration.html#available-properties
     spark.app.name = "SeaTunnel"
     spark.executor.instances = 2
     spark.executor.cores = 1
     spark.executor.memory = "1g"
     spark.master = local
   }
   
   source {
     # This is a example input plugin **only for test and demonstrate the 
feature input plugin**
     Fake {
       result_table_name = "my_dataset"
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   e2e test
   ```
   
   
   ### Error Exception
   
   ```log
   java.lang.ClassNotFoundException: 
org.apache.seatunnel.connectors.seatunnel.fake.source.FakeSource
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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