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

   ### 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
   
   Normally, an error should be reported to stop the task. However, when the 
task is scheduled through the scheduling platform, it occasionally shows that 
reading 0 and writing 0 all the time, and it does not stop. After the actual 
operation has been running for more than 7 hours, I find that the state is 
running through the interface.:
   
![81dbcbdba7a6e0137eba7eade7ee9c5](https://github.com/user-attachments/assets/9f33101f-e084-4e28-a2f7-9b3617135a7e)
   
[202412241025-seatunnel-jstack.zip](https://github.com/user-attachments/files/18235779/202412241025-seatunnel-jstack.zip)
   
   
   
   ### SeaTunnel Version
   
   2.3.7
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     Http {
       result_table_name = "http"
       url = "https://xxx/2detail";
       method = "GET"
       params = {
         id = "[xxxx]"
         typeCode = "[xxx]"
       }
       params_parsing_arrays=[id,typeCode]
       params_add = true
       params_path = "$"
       skip_ssl_verification = true
       format = "json"
             json_field = {
                 ID="$.params_id"
                 UNIT_NAME="$.unitName"
                 TYPE_CODE="$.typeCode"
                 DATE_TIME="$.dateTime"
                 TYPE="$.type"
                 PROBER_NAME="$.proberName"
                 PROBER_TYPE="$.proberType"
                 PROBER_TYPE_NAME="$.proberTypeName"
                 INSTALLATION_LOCATION="$.installationLocation"
                 RANGE_UP="$.rangeUp"
                 RANGE_DOWN="$.rangeDown"
       }
       schema = {
         fields {
           ID = string
           UNIT_NAME = string
           TYPE_CODE = string
           PROBER_NAME = string
           DATE_TIME = string
           TYPE = string
           PROBER_TYPE = string
           PROBER_TYPE_NAME = string
           INSTALLATION_LOCATION = string
           RANGE_UP = string
           RANGE_DOWN = string
         }
       }
     }
   }
       transform {
     Sql {
   query = "select 
ID,UNIT_NAME,TYPE_CODE,PROBER_NAME,DATE_TIME,TYPE,PROBER_TYPE,PROBER_TYPE_NAME,INSTALLATION_LOCATION,RANGE_UP,RANGE_DOWN,now()
 as CREATE_TIME,now() as UPDATE_TIME from http"
   }
     }
   sink {
       MappingJdbc {
           url = "jdbc:xugu://xxx/xxx"
           driver = "com.xugu.cloudjdbc.Driver"
           user = "xxx"
           password = "xxx"
           generate_sink_sql = true
           database = xxx
           table = xxx.xxx
        enable_upsert = true
           primary_keys = [ID]  
        batch_size = 400
        }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./seatunnel.sh --config job/aa.txt
   ```
   
   
   ### Error Exception
   
   ```log
   无
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   zeta
   
   ### Java or Scala Version
   
   java8
   
   ### 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