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

   ### 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 write a job to sink hudi,but I get this error:
   Exception in thread "main" java.lang.RuntimeException: Plugin 
PluginIdentifier{engineType='seatunnel', pluginType='sink', pluginName='Hudi'} 
not found
   
   ### SeaTunnel Version
   
   2.3.0
   
   ### SeaTunnel Config
   
   ```conf
   source {
     MySQL-CDC {
       result_table_name = "mysql_users2"
       parallelism = 1
       server-id = 5656
       port = 3306
       hostname = "***"
       username = "***"
       password = "***"
       database-name = "test1"
       table-name = "users_cdc2"
       base-url = "jdbc:mysql://***:3306"
       field_name = "id,name,birthday,ts"
     }
   }
   
   transform {
     sql{
       source_table_name = "mysql_users2"
       sql = "select *,DATE_FORMAT(birthday,'yyyyMMdd') as `partition` from 
mysql_users2"
       result_table_name = "mycdc_v"
     }
     
   }
   
   sink {
     Hudi {
       source_table_name = "mycdc_v"
       table.path = "hdfs://***:9000/seatunnel/mysql_cdc_sync_hudi_02"
       table.type = "cow"
       conf.files = 
"/xxx/hadoop/etc/hadoop/hdfs-site.xml;/xxx/hadoop/etc/hadoop/core-site.xml;/usr/local/hadoop/etc/hadoop/yarn-site.xml"
     }
   
     Hive {
       source_table_name = "mycdc_v"
       table_name = "users_cdc2.mysql_cdc_sync_hive_02"
       metastore_uri = "thrift://***:9083"
       partition_by = ["partition"]
       sink_columns = ["id", "name", "birthday", "ts","partition"]
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/mysqlcdc_hudi-hdfs_hive2.conf.template 
-e local
   ```
   
   
   ### Error Exception
   
   ```log
   `2023-03-22 17:57:43,984 ERROR org.apache.seatunnel.core.starter.Seatunnel - 
Fatal Error, 
   
   2023-03-22 17:57:43,984 ERROR org.apache.seatunnel.core.starter.Seatunnel - 
Please submit bug report in https://github.com/apache/incubator-seatunnel/issues
   
   2023-03-22 17:57:43,984 ERROR org.apache.seatunnel.core.starter.Seatunnel - 
Reason:Plugin PluginIdentifier{engineType='seatunnel', pluginType='sink', 
pluginName='Hudi'} not found. 
   
   2023-03-22 17:57:43,985 ERROR org.apache.seatunnel.core.starter.Seatunnel - 
Exception StackTrace:java.lang.RuntimeException: Plugin 
PluginIdentifier{engineType='seatunnel', pluginType='sink', pluginName='Hudi'} 
not found.
        at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:200)
        at 
org.apache.seatunnel.engine.core.parse.ConnectorInstanceLoader.loadSinkInstance(ConnectorInstanceLoader.java:79)
        at 
org.apache.seatunnel.engine.core.parse.JobConfigParser.complexAnalyze(JobConfigParser.java:178)
        at 
org.apache.seatunnel.engine.core.parse.JobConfigParser.parse(JobConfigParser.java:127)
        at 
org.apache.seatunnel.engine.client.job.JobExecutionEnvironment.getLogicalDag(JobExecutionEnvironment.java:129)
        at 
org.apache.seatunnel.engine.client.job.JobExecutionEnvironment.execute(JobExecutionEnvironment.java:121)
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:91)
        at org.apache.seatunnel.core.starter.Seatunnel.run(Seatunnel.java:39)
        at 
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:31)
   `
   ```
   
   
   ### 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