morningman commented on a change in pull request #354: Avoid 'No more data to read' error when handling stream load RPC URL: https://github.com/apache/incubator-doris/pull/354#discussion_r236530948
########## File path: fe/src/main/java/org/apache/doris/service/FrontendServiceImpl.java ########## @@ -580,7 +580,13 @@ public TLoadTxnBeginResult loadTxnBegin(TLoadTxnBeginRequest request) throws TEx } catch (UserException e) { status.setStatus_code(TStatusCode.ANALYSIS_ERROR); status.setError_msgs(Lists.newArrayList(e.getMessage())); + } catch (Throwable e) { + LOG.warn("catch unknown result.", e); + status.setStatus_code(TStatusCode.INTERNAL_ERROR); + status.setError_msgs(Lists.newArrayList(Strings.nullToEmpty(e.getMessage()))); Review comment: Changed ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org