morningman commented on a change in pull request #1335: Fix proc load
URL: https://github.com/apache/incubator-doris/pull/1335#discussion_r295328427
##########
File path: fe/src/main/java/org/apache/doris/load/loadv2/LoadManager.java
##########
@@ -90,6 +90,9 @@ public void createLoadJobFromStmt(LoadStmt stmt) throws
DdlException {
if (stmt.getBrokerDesc() == null) {
throw new DdlException("LoadManager only support the broker
load.");
}
+ if (loadJobScheduler.isQueueFull()) {
+ throw new DdlException("There are too many load job in waiting
queue, please retry later.");
Review comment:
```suggestion
throw new DdlException("There are more than " +
Config.max_pending_load_jobs + " load jobs in waiting queue, please retry
later.");
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]