czlh opened a new issue, #6368:
URL: https://github.com/apache/seatunnel/issues/6368

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   
同样的配置文件,在2.3.3可以执行,在2.3.4执行的时候报错,install-plugin.sh已经执行,connectors目录下面已经有connector-jdbc-2.3.4.jar文件
   
   
   ### SeaTunnel Version
   
   V2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "BATCH"
     job.name = "sync_orig_mqtt_doris_to_hive"
   }
   
   source {
     "Jdbc":{
               "result_table_name": "orig_mqtt_iot_device_property_post",
               
"url":"jdbc:mysql://192.168.9.3:9030/suwen_platform?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowMultiQueries=true&rewriteBatchedStatements=true",
               "driver":"com.mysql.cj.jdbc.Driver",
               "user":"root",
               "password":"",
               "query":"select * from orig_mqtt_iot_device_property_post"
           }
   }
   
   transform { 
   }
   
   sink {
   #    Console {
   #        source_table_name = "orig_mqtt_iot_device_property_post"
   #    }
       
       Hive {
         source_table_name = "orig_mqtt_iot_device_property_post"
         table_name = "saas.orig_mqtt_iot_device_property_post"
         metastore_uri = "thrift://192.168.9.3:9083"
       }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/start-seatunnel-flink-15-connector-v2.sh  --config 
config/sync_orig_mqtt_doris_to_hive.conf
   ```
   
   
   ### Error Exception
   
   ```log
   -----------------------------------------------------------
    The program finished with the following exception:
   
   org.apache.flink.client.program.ProgramInvocationException: The main method 
caused an error: Plugin PluginIdentifier{engineType='seatunnel', 
pluginType='source', pluginName='Jdbc'} not found.
           at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372)
           at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)
           at 
org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:105)
           at 
org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:851)
           at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:245)
           at 
org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1095)
           at 
org.apache.flink.client.cli.CliFrontend.lambda$mainInternal$9(CliFrontend.java:1189)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAs(Subject.java:422)
           at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1898)
           at 
org.apache.flink.runtime.security.contexts.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
           at 
org.apache.flink.client.cli.CliFrontend.mainInternal(CliFrontend.java:1189)
           at 
org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1157)
   Caused by: java.lang.RuntimeException: Plugin 
PluginIdentifier{engineType='seatunnel', pluginType='source', 
pluginName='Jdbc'} not found.
           at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:231)
           at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:171)
           at 
org.apache.seatunnel.core.starter.execution.PluginUtil.fallbackCreate(PluginUtil.java:128)
           at 
org.apache.seatunnel.core.starter.execution.PluginUtil.createSource(PluginUtil.java:77)
           at 
org.apache.seatunnel.core.starter.flink.execution.SourceExecuteProcessor.initializePlugins(SourceExecuteProcessor.java:118)
           at 
org.apache.seatunnel.core.starter.flink.execution.FlinkAbstractPluginExecuteProcessor.<init>(FlinkAbstractPluginExecuteProcessor.java:76)
           at 
org.apache.seatunnel.core.starter.flink.execution.SourceExecuteProcessor.<init>(SourceExecuteProcessor.java:61)
           at 
org.apache.seatunnel.core.starter.flink.execution.FlinkExecution.<init>(FlinkExecution.java:91)
           at 
org.apache.seatunnel.core.starter.flink.command.FlinkTaskExecuteCommand.execute(FlinkTaskExecuteCommand.java:59)
           at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
           at 
org.apache.seatunnel.core.starter.flink.SeaTunnelFlink.main(SeaTunnelFlink.java:34)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at 
org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:355)
           ... 12 more
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   1.8
   
![image](https://github.com/apache/seatunnel/assets/8635566/bc9d1997-8ada-4bb6-9bf2-2bbca3a7097c)
   
   
   ### 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