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

   ### 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
   
   in `seatunnel.sh -m local -c test.conf` mode, it works well, and file in 
/tmp/*.
   in cluster mode `seatunnel.sh -c test.conf` it works successed, but no file 
in every nodes path /tmp/.
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = BATCH
     job.name = test
   }
   
   source {
     Jdbc {
       result_table_name = source
       query = """
       """
     }
   }
   
   transform {
   }
   
   sink {
     LocalFile {
       source_table_name = [source]
       path = "/tmp/"
       custom_filename = true
       file_name_expression = "test-${now}_${transactionId}"
       filename_time_format = "yyyy-MM-dd"
       file_format_type = "excel"
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   seatunnel.sh -c test.conf
   ```
   
   
   ### Error Exception
   
   ```log
   2024-01-12 10:27:32,481 INFO  
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery - Load plugin: 
PluginIdentifier{engineType='seatunnel', pluginType='sink', 
pluginName='LocalFile'} from classpath
   2024-01-12 10:27:32,541 INFO  
org.apache.seatunnel.engine.client.job.ClientJobProxy - Start submit job, job 
id: 798015207820492802, with plugin jar 
[file:/opt/seatunnel-2.3.3/connectors/seatunnel/connector-file-local-2.3.3.jar, 
file:/opt/seatunnel-2.3.3/connectors/seatunnel/connector-jdbc-2.3.3.jar]
   2024-01-12 10:27:32,593 INFO  
org.apache.seatunnel.engine.client.job.ClientJobProxy - Submit job finished, 
job id: 798015207820492802, job name: SeaTunnel
   2024-01-12 10:27:32,600 WARN  
org.apache.seatunnel.engine.client.job.JobMetricsRunner - Failed to get job 
metrics summary, it maybe first-run
   2024-01-12 10:27:33,831 INFO  
org.apache.seatunnel.engine.client.job.ClientJobProxy - Job 
(798015207820492802) end with state FINISHED
   2024-01-12 10:27:33,835 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand -
   ***********************************************
              Job Statistic Information
   ***********************************************
   Start Time                : 2024-01-12 10:27:31
   End Time                  : 2024-01-12 10:27:33
   Total Time(s)             :                   1
   Total Read Count          :                 151
   Total Write Count         :                 151
   Total Failed Count        :                   0
   ***********************************************
   
   2024-01-12 10:27:33,835 INFO  com.hazelcast.core.LifecycleService - 
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is 
SHUTTING_DOWN
   2024-01-12 10:27:33,838 INFO  
com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 
[seatunnel] [5.1] Removed connection to endpoint: 
[clickhouse03]:5801:395c7c11-e434-451f-8b9f-46c975237363, connection: 
ClientConnection{alive=false, connectionId=3, 
channel=NioChannel{/192.168.17.203:57849->clickhouse03/192.168.17.205:5801}, 
remoteAddress=[clickhouse03]:5801, lastReadTime=2024-01-12 10:27:31.855, 
lastWriteTime=2024-01-12 10:27:31.853, closedTime=2024-01-12 10:27:33.836, 
connected server version=5.1}
   2024-01-12 10:27:33,839 INFO  
com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 
[seatunnel] [5.1] Removed connection to endpoint: 
[clickhouse02]:5801:f0b7c7cf-adb1-4061-b1a1-1dbca14883c1, connection: 
ClientConnection{alive=false, connectionId=1, 
channel=NioChannel{/192.168.17.203:50928->clickhouse02/192.168.17.204:5801}, 
remoteAddress=[clickhouse02]:5801, lastReadTime=2024-01-12 10:27:31.950, 
lastWriteTime=2024-01-12 10:27:31.945, closedTime=2024-01-12 10:27:33.838, 
connected server version=5.1}
   2024-01-12 10:27:33,839 INFO  
com.hazelcast.client.impl.connection.ClientConnectionManager - hz.client_1 
[seatunnel] [5.1] Removed connection to endpoint: 
[clickhouse01]:5801:7ab2b717-ffa2-4bfb-8546-32c5ba7f0a5c, connection: 
ClientConnection{alive=false, connectionId=2, 
channel=NioChannel{/192.168.17.203:57860->clickhouse01/192.168.17.203:5801}, 
remoteAddress=[clickhouse01]:5801, lastReadTime=2024-01-12 10:27:33.833, 
lastWriteTime=2024-01-12 10:27:33.831, closedTime=2024-01-12 10:27:33.839, 
connected server version=5.1}
   2024-01-12 10:27:33,840 INFO  com.hazelcast.core.LifecycleService - 
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is 
CLIENT_DISCONNECTED
   2024-01-12 10:27:33,842 INFO  com.hazelcast.core.LifecycleService - 
hz.client_1 [seatunnel] [5.1] HazelcastClient 5.1 (20220228 - 21f20e7) is 
SHUTDOWN
   2024-01-12 10:27:33,842 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - 
Closed SeaTunnel client......
   2024-01-12 10:27:33,842 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - 
Closed metrics executor service ......
   2024-01-12 10:27:33,843 INFO  
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand - run 
shutdown hook because get close signal
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   zeta
   
   ### Java or Scala Version
   
   jdk 1.8
   
   ### 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