maruko-code opened a new issue, #3992:
URL: https://github.com/apache/incubator-seatunnel/issues/3992

   ### 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
   
   I want to test maxcompute source on local machine 
   1.In project seatunnel-spark-connector-v2-example add file  in dir 
resource/examples/max.conf
   2. seatunnel-spark-connector-v2-example pom.xml add 
     <dependency>
               <groupId>org.apache.seatunnel</groupId>
               <artifactId>connector-maxcompute</artifactId>
               <version>${project.version}</version>
           </dependency>
   3.change org.apache.seatunnel.example.engine.SeaTunnelEngineExample args to 
'/examples/max.conf'
   4.run org.apache.seatunnel.example.engine.SeaTunnelEngineExample then get 
error   pluginName not found
   
   
   ### SeaTunnel Version
   
   commit d7280abbe9e72262640836182a7f090a5706988a (HEAD, tag: 2.3.0)
   
   ### SeaTunnel Config
   
   ```conf
   env {
     spark.app.name = "seatunnel"
     spark.executor.instances = 2
     spark.executor.cores = 1
     spark.executor.memory = "1g"
     spark.master = "local[2]"
     // 这个配置必需填写
      #spark.sql.catalogImplementation = "hive"
   }
   source {
     Maxcompute {
       accessId="accessId"
       accesskey="accesskey"
       endpoint="http://service.cn-beijing.maxcompute.aliyun.com/api";
       project="yb_data_dev"
       table_name="test3"
       #split_row = 10000
     }
   }
   
   
   sink {
     Console {}
   }
   ```
   
   
   ### Running Command
   
   ```shell
   org.apache.seatunnel.example.engine.SeaTunnelEngineExample.main
   ```
   
   
   ### Error Exception
   
   ```log
   Exception in thread "main" 
org.apache.seatunnel.core.starter.exception.CommandExecuteException: Plugin 
PluginIdentifier{engineType='seatunnel', pluginType='source', 
pluginName='Maxcompute'} not found.
        at 
org.apache.seatunnel.core.starter.spark.command.SparkApiTaskExecuteCommand.execute(SparkApiTaskExecuteCommand.java:58)
        at org.apache.seatunnel.core.starter.Seatunnel.run(Seatunnel.java:39)
        at 
org.apache.seatunnel.example.spark.v2.ExampleUtils.builder(ExampleUtils.java:43)
        at 
org.apache.seatunnel.example.spark.v2.SeaTunnelApiExample.main(SeaTunnelApiExample.java:29)
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   java version "1.8.0_231"
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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