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

   ### 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
   
   For some unknown reason, Doris Sink suddenly encountered a 307 Temporary 
Redirect exception while running. After the exception, the task status remained 
running and the rate was 0.
   After testing, the network is working and all other Doris Sink tasks are 
running normally.
   
   
![Image](https://github.com/user-attachments/assets/7a5a7648-c6f3-409e-bd64-1ab9a35fec22)
   
   
![Image](https://github.com/user-attachments/assets/d14fcfae-353f-4124-aa03-6e328f80d8dc)
   
   ### SeaTunnel Version
   
   2.3.10
   
   ### SeaTunnel Config
   
   ```conf
   {
       "env": {
           "jobMode": "BATCH",
           "parallelism": 1
       },
       "sink": [
           {
               "data_save_mode": "APPEND_DATA",
               "database": "testdb01",
               "doris.batch.size": 1024,
               "doris.config": {
                   "column_separator": "\t",
                   "columns": "AGE,CREATED_AT,ID,NAME",
                   "enclose": "#",
                   "format": "csv",
                   "trim_double_quotes": true
               },
               "fenodes": "******:8030",
               "password": "******",
               "plugin_input": "doris_field_transform",
               "plugin_name": "DORIS",
               "sink.buffer-count": 3,
               "sink.buffer-size": "256 * 1024",
               "sink.enable-2pc": false,
               "sink.label-prefix": "hanatodoris4304",
               "sink.max-retries": 3,
               "table": "test_data04",
               "username": "******"
           }
       ],
       "source": [
           {
               "access_key": "******",
               "access_secret": "******",
               "bucket": "obs://******",
               "endpoint": "https://******";,
               "field_delimiter": "\u0001",
               "file_format_type": "text",
               "path": "/data/20250523/102600/1747967243339",
               "plugin_name": "OBSFILE",
               "schema": {
                   "fields": {
                       "AGE": "INT",
                       "CREATED_AT": "TIMESTAMP",
                       "ID": "INT",
                       "NAME": "STRING"
                   }
               },
                        "skip_header_row_number": 1,
                        "tmp_path": "/tmp"
           }
       ],
        "transform": [
            {
                    "plugin_name": "SQL",
                        "plugin_output": "doris_field_transform",
                        "query": "select AGE,CREATED_AT,ID,NAME from dual"
                }
        ]
   }
   ```
   
   ### Running Command
   
   ```shell
   bin/seatunnel.sh --config doris.json
   ```
   
   ### Error Exception
   
   ```log
   [978122633142861826] 2025-05-23 10:30:37,882 ERROR 
[a.s.m.MultiTableWriterRunnable] [st-multi-table-sink-writer-1] - 
MultiTableWriterRunnable error when write row SeaTunnelRow{tableId=, kind=+I, 
fields=[10, 2025-04-30T07:17:32, 1024, SampleName-2025-04-30 07:17:32.8920000]}
   org.apache.seatunnel.connectors.doris.exception.DorisConnectorException: 
ErrorCode:[Doris-01], ErrorDescription:[stream load error]
       at 
org.apache.seatunnel.connectors.doris.sink.writer.DorisStreamLoad.stopLoad(DorisStreamLoad.java:228)
 ~[?:?]
       at 
org.apache.seatunnel.connectors.doris.sink.writer.DorisSinkWriter.flush(DorisSinkWriter.java:201)
 ~[?:?]
       at 
org.apache.seatunnel.connectors.doris.sink.writer.DorisSinkWriter.write(DorisSinkWriter.java:167)
 ~[?:?]
       at 
org.apache.seatunnel.connectors.doris.sink.writer.DorisSinkWriter.write(DorisSinkWriter.java:60)
 ~[?:?]
       at 
org.apache.seatunnel.api.sink.multitablesink.MultiTableWriterRunnable.run(MultiTableWriterRunnable.java:67)
 ~[seatunnel-starter.jar:2.3.10]
       at org.apache.seatunnel.api.tracing.MDCRunnable.run(MDCRunnable.java:43) 
~[seatunnel-starter.jar:2.3.10]
       at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
~[?:1.8.0_362]
       at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
~[?:1.8.0_362]
       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
~[?:1.8.0_362]
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
~[?:1.8.0_362]
       at java.lang.Thread.run(Thread.java:750) [?:1.8.0_362]
   Caused by: 
org.apache.seatunnel.connectors.doris.exception.DorisConnectorException: 
ErrorCode:[Doris-01], ErrorDescription:[stream load error] - HTTP/1.1 307 
Temporary Redirect
       at 
org.apache.seatunnel.connectors.doris.sink.writer.DorisStreamLoad.handlePreCommitResponse(DorisStreamLoad.java:217)
 ~[?:?]
       at 
org.apache.seatunnel.connectors.doris.sink.writer.DorisStreamLoad.stopLoad(DorisStreamLoad.java:226)
 ~[?:?]
       ... 10 more
   [978122247552106501] 2025-05-23 10:30:37,958 INFO 
[o.a.s.c.d.s.w.DorisStreamLoad ] [st-multi-table-sink-writer-1] - load Result 
{"TxnId": 547142991,
   ```
   
   ### Zeta or Flink or Spark Version
   
   Zeta
   
   ### Java or Scala Version
   
   _No response_
   
   ### 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