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

   ### 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
   
   I configured the source and sink, but apply failed.
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 2000
   }
   
   source {
     MongoDB {
       uri = "mongodb://127.0.0.1:27017"
       database = "test"
       collection = "a"
       schema = {
         fields {
           a = "string"
           b = "boolean"
           c = "int"
         }
       }
     }
   }
   
   sink {
     MongoDB{
       uri = "mongodb://k8s-node01:27017"
       database = "test"
       collection = "test"
       schema = {
         fields {
           a = "string"
           b = "boolean"
           c = "int"
         }
       }
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   kubectl create cm seatunnel-config \
   --from-file=seatunnel.streaming.conf=seatunnel.streaming.conf
   ```
   
   
   ### Error Exception
   
   ```log
   2023-10-27 10:54:07,456 ERROR org.apache.seatunnel.core.starter.SeaTunnel    
              [] - Fatal Error,
   
   2023-10-27 10:54:07,456 ERROR org.apache.seatunnel.core.starter.SeaTunnel    
              [] - Please submit bug report in 
https://github.com/apache/seatunnel/issues
   
   2023-10-27 10:54:07,457 ERROR org.apache.seatunnel.core.starter.SeaTunnel    
              [] - Reason:Plugin PluginIdentifier{engineType='seatunnel', 
pluginType='source', pluginName='MongoDB'} not found.
   
   2023-10-27 10:54:07,461 ERROR org.apache.seatunnel.core.starter.SeaTunnel    
              [] - Exception StackTrace:java.lang.RuntimeException: Plugin 
PluginIdentifier{engineType='seatunnel', pluginType='source', 
pluginName='MongoDB'} not found.
        at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:223)
        at 
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:178)
        at 
org.apache.seatunnel.core.starter.flink.execution.SourceExecuteProcessor.initializePlugins(SourceExecuteProcessor.java:133)
        at 
org.apache.seatunnel.core.starter.flink.execution.FlinkAbstractPluginExecuteProcessor.<init>(FlinkAbstractPluginExecuteProcessor.java:67)
        at 
org.apache.seatunnel.core.starter.flink.execution.SourceExecuteProcessor.<init>(SourceExecuteProcessor.java:58)
        at 
org.apache.seatunnel.core.starter.flink.execution.FlinkExecution.<init>(FlinkExecution.java:87)
        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)
        at 
org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)
        at 
org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114)
        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.runApplicationEntryPoint(ApplicationDispatcherBootstrap.java:242)
        at 
org.apache.flink.client.deployment.application.ApplicationDispatcherBootstrap.lambda$runApplicationAsync$1(ApplicationDispatcherBootstrap.java:212)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
org.apache.flink.runtime.concurrent.akka.ActorSystemScheduledExecutorAdapter$ScheduledFutureTask.run(ActorSystemScheduledExecutorAdapter.java:159)
        at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
        at 
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)
        at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        at 
akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        at 
akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
   
   2023-10-27 10:54:07,461 ERROR org.apache.seatunnel.core.starter.SeaTunnel    
              [] -
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   1.13
   
   ### Java or Scala Version
   
   _No response_
   
   ### 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