EmmyMiao87 commented on a change in pull request #1323: This commit has brought
contribution to streaming mini load
URL: https://github.com/apache/incubator-doris/pull/1323#discussion_r294591303
##########
File path: fe/src/main/java/org/apache/doris/http/rest/GetLoadInfoAction.java
##########
@@ -63,7 +64,15 @@ public void executeWithoutPassword(AuthorizationInfo
authInfo, BaseRequest reque
if (redirectToMaster(request, response)) {
return;
}
- catalog.getLoadInstance().getJobInfo(info);
+ try {
+ try {
+ catalog.getLoadInstance().getJobInfo(info);
+ } catch (DdlException e) {
+ catalog.getLoadManager().getLoadJobInfo(info);
Review comment:
The hadoop load job still exists in the LoadInstance. In the future, it must
check both LoadInstance and LoadManager for every load job info request. So the
sequence is not important.
----------------------------------------------------------------
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]