starrocks: [FE] stream load failed with "no 100-continue header" under HTTP/1.0 protocol
Steps to reproduce the behavior (Required)
$ curl -0 -i -kv -H "label:auto_test_stream_load_table_basic2" -u root: -T heap-after.bin -X PUT http://172.26.95.190:8030/api/auto_test_stream_load/auto_test_stream_load_table_basic/_stream_load
> PUT /api/auto_test_stream_load/auto_test_stream_load_table_basic/_stream_load HTTP/1.0
> Host: 172.26.95.190:8030
> Authorization: Basic cm9vdDo=
> User-Agent: curl/7.81.0
> Accept: */*
> label:auto_test_stream_load_table_basic2
> Content-Length: 1379507030
>
< HTTP/1.1 200 OK
< content-length: 113
< content-type: application/json; charset=UTF-8
< connection: close
<
{
"Status": "FAILED",
"Message": "class com.starrocks.common.DdlException: There is no 100-continue header"
}
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
3.3.6
Affected version:
- v3.3.6
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (11 by maintainers)
Success! I expand curl command in py-file with
-H 'Expect: 100-Continue'and it works now.Thank you a lot, @kevincai !
@dimkas78 can’t repro it. How did you launch the allin1 container?
@kevincai, sure, I changed only
mysql_hostrowIt is docker-allin1 on top of brand-new Ubuntu 24.04.
I have bare metal home server, so I install fresh Ubuntu 24.04 to empty disk, add containerd, curl, python3, pip, then run docker command from https://docs.starrocks.io/docs/quick_start/shared-nothing/#launch-starrocks and go to TPC-DS script.