You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/08/09 09:48:10 UTC
[GitHub] [doris-flink-connector] link3280 opened a new issue, #53: [Bug] Stream load fails when there's no data
link3280 opened a new issue, #53:
URL: https://github.com/apache/doris-flink-connector/issues/53
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
### Version
1.1.0
### What's Wrong?
Stream load fails if there's no data to flush.
<img width="1155" alt="截屏2022-08-09 17 41 43" src="https://user-images.githubusercontent.com/13482005/183617882-8744e90d-0333-4c30-b808-024f8d081aca.png">
We could fix this by skip the flush if there's no pending data.
### What You Expected?
No failure when there's no input data.
### How to Reproduce?
Submit a job with an empty data source and Doris sink.
### Anything Else?
_No response_
### Are you willing to submit PR?
- [X] 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: commits-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris-flink-connector] JNSimba commented on issue #53: [Bug] Stream load fails when there's no data
Posted by GitBox <gi...@apache.org>.
JNSimba commented on issue #53:
URL: https://github.com/apache/doris-flink-connector/issues/53#issuecomment-1211770430
hello, link3280, thanks for your reply.
Version 0.15 has this problem. In version 0.15, curl streamload an empty file will also report this error, even if all data is filtered out, this error will also occur. But the 1.X version is normal.
In addition, this change is not suitable: if there is no data entry for a long time, it is easy to cause a particularly long http request.
Version 0.15 can use doris-flink-connector-1.0.3 version first
Thanks~
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris-flink-connector] link3280 commented on issue #53: [Bug] Stream load fails when there's no data
Posted by GitBox <gi...@apache.org>.
link3280 commented on issue #53:
URL: https://github.com/apache/doris-flink-connector/issues/53#issuecomment-1210454469
@JNSimba Thanks for your explanation.
I was writing to a non-partitioned table, of which DDL is like:
```
CREATE TABLE `tmp_test` (
`a` text NULL COMMENT "",
`update_time` datetime NULL COMMENT ""
) ENGINE=OLAP
DUPLICATE KEY(`a`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`a`) BUCKETS 32
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"in_memory" = "false",
"storage_format" = "V2"
);
```
BTW, the doris cluster's version 0.15.0 (2pc disabled). Would that be related to the error?
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris-flink-connector] link3280 closed issue #53: [Bug] Stream load fails when there's no data
Posted by GitBox <gi...@apache.org>.
link3280 closed issue #53: [Bug] Stream load fails when there's no data
URL: https://github.com/apache/doris-flink-connector/issues/53
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris-flink-connector] link3280 commented on issue #53: [Bug] Stream load fails when there's no data
Posted by GitBox <gi...@apache.org>.
link3280 commented on issue #53:
URL: https://github.com/apache/doris-flink-connector/issues/53#issuecomment-1210461645
I mock a few records in a Kafka topic and submit a Flink job to sink them into a Doris table.
The first checkpoint was good because there're existing data, but the second one fails with `all partitions have no load data`.
Please see the flink log for details.

--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris-flink-connector] link3280 commented on issue #53: [Bug] Stream load fails when there's no data
Posted by GitBox <gi...@apache.org>.
link3280 commented on issue #53:
URL: https://github.com/apache/doris-flink-connector/issues/53#issuecomment-1211966333
@JNSimba Thanks for your input! Then I'll close the issue and the PR.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris-flink-connector] JNSimba commented on issue #53: [Bug] Stream load fails when there's no data
Posted by GitBox <gi...@apache.org>.
JNSimba commented on issue #53:
URL: https://github.com/apache/doris-flink-connector/issues/53#issuecomment-1210206964
hello, link3280:
1. `all partitions have no load data` is usually an error raised when the data format or partition does not exist.
2. I simulated the scene without data writing locally, and it can be run.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris-flink-connector] JNSimba commented on issue #53: [Bug] Stream load fails when there's no data
Posted by GitBox <gi...@apache.org>.
JNSimba commented on issue #53:
URL: https://github.com/apache/doris-flink-connector/issues/53#issuecomment-1211568757
Can you provide some sample data sent to the sink operator, let me simulate the test
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org