keith002 commented on issue #8972:
URL: https://github.com/apache/seatunnel/issues/8972#issuecomment-2728290107

   After local deployment, use the interface   hazelcast/rest/maps/submit-job  
   `{
     "env": {
       "job.mode": "batch"
     },
     "source": [
       {
         "plugin_name": "Jdbc",
         "result_table_name": "lh_score_grade",
         "url": 
"jdbc:mysql://127.0.0.1:3306/lh_financial_data_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC&nuLlCatalogMeansCurrent=true",
         "driver": "com.mysql.cj.jdbc.Driver",
         "connection_check_timeout_sec": 100,
         "user": "test",
         "password": "123456",
         "query": "SELECT customer_code,data_point,type,code,value,op_time FROM 
lh_customer_financial_data limit 10"
       }
     ],
     "transform": [],
     "sink": [
       {
         "plugin_name": "S3File",
         "source_table_name": [
           "lh_score_grade"
         ],
         "bucket": "s3a://cs",
         "tmp_path": "/data/test",
         "path": "/test",
         "fs.s3a.endpoint": "http://endpoint.cn";,
         "fs.s3a.aws.credentials.provider": 
"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider",
         "access_key": "xxxxxxxx",
         "secret_key": "xxxxxxxx",
         "file_format_type": "orc"
       }
     ]
   }`
   
   
![Image](https://github.com/user-attachments/assets/00bf44db-d454-43a6-8d71-4c36ba53e741)
   `{
       "jobId": "1",
       "jobName": "synctest",
       "jobStatus": "RUNNING",
       "envOptions": {
           "job.mode": "batch"
       },
       "createTime": "2025-03-17 14:09:39",
       "jobDag": {
           "vertices": [
               {
                   "id": 1,
                   "name": "Source[0]-Jdbc(id=1)",
                   "parallelism": 1
               },
               {
                   "id": 3,
                   "name": "Sink[0]-S3File-MultiTableSink(id=3)",
                   "parallelism": 1
               }
           ],
           "edges": [
               {
                   "inputVertex": "Source[0]-Jdbc",
                   "targetVertex": "Sink[0]-S3File-MultiTableSink"
               }
           ]
       },
       "pluginJarsUrls": [
           {
               "jarPath": 
"file:/opt/seatunnel/plugins/transforms-overwrite-2.3.5-2.12.15.jar"
           },
           {
               "jarPath": 
"file:/opt/seatunnel/plugins/mysql-connector-java-8.0.28.jar"
           },
           {
               "jarPath": "file:/opt/seatunnel/plugins/hadoop-aws-3.1.4.jar"
           },
           {
               "jarPath": 
"file:/opt/seatunnel/connectors/connector-file-s3-2.3.5.jar"
           },
           {
               "jarPath": 
"file:/opt/seatunnel/plugins/mssql-jdbc-9.2.1.jre8.jar"
           },
           {
               "jarPath": 
"file:/opt/seatunnel/plugins/aws-java-sdk-bundle-1.12.692.jar"
           },
           {
               "jarPath": 
"file:/opt/seatunnel/connectors/connector-jdbc-2.3.5.jar"
           }
       ],
       "isStartWithSavePoint": true,
       "metrics": {
           "SourceReceivedCount": "10",
           "SinkWriteCount": "10"
       }
   }`  
   He has been stuck in the running query status display


-- 
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