linzhicong1996 opened a new issue, #55255:
URL: https://github.com/apache/doris/issues/55255

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.1.6
   
   ### What's Wrong?
   
   Audit log load error: No backend load available. However, stream load works 
for other tables, and data can be inserted into the audit_log.
   
   
   
   `2025-08-25 15:30:11,521 WARN (audit loader thread|66) 
[AuditStreamLoader.loadBatch():148] failed to load audit via AuditLoader plugin 
with label: audit_log_20250825_153011_499_127_0_0_1_8030
   java.lang.Exception: status is not TEMPORARY_REDIRECT 307, status: 200, 
response: {"status":"FAILED","msg":"errCode = 2, detailMessage = No backend 
load available., policy: computeNode=false | query=false | load=true | 
schedule=false | tags={\"location\" : \"invalid\"} | medium=null"}, request is: 
curl -v -X PUT \
     -H "Authorization":"Basic " \
     -H "Expect":"100-continue" \
     -H "Content-Type":"text/plain; charset=UTF-8" \
     -H "max_filter_ratio":"1.0" \
     -H 
"columns":"query_id,time,client_ip,user,catalog,db,state,error_code,error_message,query_time,scan_bytes,scan_rows,return_rows,stmt_id,is_query,frontend_ip,cpu_time_ms,sql_hash,sql_digest,peak_memory_bytes,workload_group,stmt"
 \
     "http://127.0.0.1:8030/api/__internal_schema/audit_log/_stream_load?";
        at 
org.apache.doris.plugin.audit.AuditStreamLoader.loadBatch(AuditStreamLoader.java:122)
 ~[doris-fe.jar:1.2-SNAPSHOT]
        at 
org.apache.doris.plugin.audit.AuditLoaderPlugin.loadIfNecessary(AuditLoaderPlugin.java:214)
 ~[doris-fe.jar:1.2-SNAPSHOT]
        at 
org.apache.doris.plugin.audit.AuditLoaderPlugin.access$300(AuditLoaderPlugin.java:50)
 ~[doris-fe.jar:1.2-SNAPSHOT]
        at 
org.apache.doris.plugin.audit.AuditLoaderPlugin$LoadWorker.run(AuditLoaderPlugin.java:255)
 ~[doris-fe.jar:1.2-SNAPSHOT]
        at java.lang.Thread.run(Thread.java:745) ~[?:1.8.0_43]`
   
   
   ### What You Expected?
   
   load   Audit log  success
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to