jianneng-fit2cloud opened a new issue, #6284:
URL: https://github.com/apache/seatunnel/issues/6284

   ### 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
   
   打包好的SeaTunnel bin目录,打成一个docker容器,在容器中使用命令:
   sh /opt/apps/seatunnel/bin/seatunnel.sh --config 
/opt/apps/seatunnel/config/template/1ba91424-201a-43aa-bf02-e4c077125185/1706182569751.template
 -m local 等待执行结束,没有报错信息,返回结果是成功的,但是在目标数据库没有查询到结果显示的300000数据,请问,同样的SeaTunnel 
bin目录,同样的配置,在本地是可以的,可能是什么原因导致的?
   
![log](https://github.com/apache/seatunnel/assets/48425184/9695a059-3cfa-49e7-b618-51dc86b91c04)
    2024-01-25 19:54:43,580 INFO  com.hazelcast.core.LifecycleService - 
hz.client_1 [seatunnel-13032] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is 
CLIENT_DISCONNECTED
   2024-01-25 19:54:43,582 INFO  com.hazelcast.core.LifecycleService - 
hz.client_1 [seatunnel-13032] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is 
SHUTDOWN
   2024-01-25 19:54:43,582 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - 
Closed SeaTunnel client......
   2024-01-25 19:54:43,582 INFO  com.hazelcast.core.LifecycleService - 
[localhost]:5801 [seatunnel-13032] [5.1] [localhost]:5801 is SHUTTING_DOWN
   2024-01-25 19:54:43,586 INFO  
com.hazelcast.internal.partition.impl.MigrationManager - [localhost]:5801 
[seatunnel-13032] [5.1] Shutdown request of Member [localhost]:5801 - 
f5dc6c68-fd4e-4b48-8803-6571558678bf this is handled
   2024-01-25 19:54:43,590 INFO  com.hazelcast.instance.impl.Node - 
[localhost]:5801 [seatunnel-13032] [5.1] Shutting down connection manager...
   2024-01-25 19:54:43,592 INFO  com.hazelcast.instance.impl.Node - 
[localhost]:5801 [seatunnel-13032] [5.1] Shutting down node engine...
   2024-01-25 19:54:43,608 INFO  com.hazelcast.instance.impl.NodeExtension - 
[localhost]:5801 [seatunnel-13032] [5.1] Destroying node NodeExtension.
   2024-01-25 19:54:43,609 INFO  com.hazelcast.instance.impl.Node - 
[localhost]:5801 [seatunnel-13032] [5.1] Hazelcast Shutdown is completed in 24 
ms.
   2024-01-25 19:54:43,609 INFO  com.hazelcast.core.LifecycleService - 
[localhost]:5801 [seatunnel-13032] [5.1] [localhost]:5801 is SHUTDOWN
   2024-01-25 19:54:43,609 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - 
Closed HazelcastInstance ......
   2024-01-25 19:54:43,609 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - 
Closed metrics executor service ......
   2024-01-25 19:54:43,612 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - run 
shutdown hook because get close signal
   
   ### SeaTunnel Version
   
   2.3.3-release
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env" : {
           "execution.parallelism" : 1,
           "job.mode" : "BATCH",
           "checkpoint.interval" : 10000
       },
       "source" : [
           {
               "plugin_name" : "Jdbc",
               "url" : 
"jdbc:mysql://xxx:3306/xxx?characterEncoding=UTF-8&connectTimeout=5000&useSSL=false&allowPublicKeyRetrieval=true",
               "driver" : "com.mysql.cj.jdbc.Driver",
               "user" : "root",
               "password" : "xxx",
               "query" : "select * from `30wdate_duo`",
               "partition_lower_bound" : 1,
               "partition_upper_bound" : 500,
               "partition_num" : 10,
               "connection_check_timeout_sec" : 100,
               "result_table_name" : "fake"
           }
       ],
       "transform" : [
           {
               "plugin_name" : "FieldMapper",
               "field_mapper" : {
                   "date" : "date",
                   "product" : "product",
                   "num7" : "num7",
                   "quantity" : "quantity",
                   "num6" : "num6",
                   "gross" : "gross",
                   "max" : "max",
                   "num" : "num",
                   "min" : "min",
                   "price" : "price",
                   "name" : "name",
                   "num1" : "num1",
                   "Profit" : "Profit",
                   "id" : "id",
                   "job" : "job",
                   "num5" : "num5",
                   "num4" : "num4",
                   "Inventory" : "Inventory",
                   "num3" : "num3",
                   "num2" : "num2"
               },
               "source_table_name" : [
                   "fake"
               ],
               "result_table_name" : "fake1"
           }
       ],
       "sink" : [
           {
               "source_table_name" : [
                   "fake1"
               ],
               "username" : "root",
               "password" : "",
               "fenodes" : "xxxxx:8030",
               "sink.enable-2pc" : "true",
               "sink.max-retries" : 3,
               "table.identifier" : "xxx.i_30_w",
               "plugin_name" : "Doris",
               "sink.label-prefix" : "test_json",
               "doris.config" : {
                   "format" : "json",
                   "read_json_by_line" : "true",
                   "columns" : 
"id,name,job,product,date,quantity,num,price,Inventory,max,min,gross,Profit,num1,num2,num3,num4,num5,num6,num7"
               }
           }
       ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   sh /opt/apps/seatunnel/bin/seatunnel.sh --config 
/opt/apps/seatunnel/config/template/1ba91424-201a-43aa-bf02-e4c077125185/1706182569751.template
 -m local
   ```
   
   
   ### Error Exception
   
   ```log
   没有错误异常
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Zeta
   
   ### Java or Scala Version
   
   java 17.0.9
   
   ### 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