1. Error reporting scenario
Load data
[starcross@app1 FLink-test-LT]$ curl --location-trusted -u root:aba -T 'data_2022-04-11.csv' -H "label:testdoris201" -H "column_separator:," -XPUT http://10.22.33.69:8030/api/os/ws/_stream_load
2. Error reporting content
{
"TxnId": -1,
"Label": "testdoris403",
"Status": "Label Already Exists",
"ExistingJobStatus": "FINISHED",
"Message": "errCode = 2, detailMessage = Label [testdoris403] has already been used.",
"NumberTotalRows": 0,
"NumberLoadedRows": 0,
"NumberFilteredRows": 0,
"NumberUnselectedRows": 0,
"LoadBytes": 0,
"LoadTimeMs": 0,
"BeginTxnTimeMs": 0,
"StreamLoadPutTimeMs": 0,
"ReadDataTimeMs": 0,
"WriteDataTimeMs": 0,
"CommitAndPublishTimeMs": 0
}
3. Solutions
The reason for the error is that the task tag already exists. Replace the task tag
– H “label: testdoris201” is changed to – H “label: any other different is OK”