From 5001070034e8863c5742f52131017fa7d957519a Mon Sep 17 00:00:00 2001 From: gnehil Date: Fri, 9 Aug 2024 10:49:30 +0800 Subject: [PATCH] change log level to warn --- .../main/java/org/apache/doris/httpv2/rest/LoadAction.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/LoadAction.java b/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/LoadAction.java index 04f6a787f008a7b..af41b0956226e84 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/LoadAction.java +++ b/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/LoadAction.java @@ -726,7 +726,7 @@ public Object createIngestionLoad(HttpServletRequest request, HttpServletRespons ConnectContext.get().getCurrentUserIdentity()); } catch (Exception e) { - LOG.error("create ingestion load job failed, db: {}, err: {}", db, e.getMessage()); + LOG.warn("create ingestion load job failed, db: {}, err: {}", db, e.getMessage()); return ResponseEntityBuilder.okWithCommonError(e.getMessage()); } @@ -761,12 +761,13 @@ private void executeCreateAndStartIngestionLoad(String dbName, String label, Lis } catch (DdlException | BeginTransactionException | MetaNotFoundException | AnalysisException | QuotaExceedException | LoadException e) { + LOG.warn("create ingestion load job failed, db: {}, load id: {}, err: {}", dbName, loadId, e.getMessage()); if (loadId != -1L) { try { Env.getCurrentEnv().getLoadManager().getLoadJob(loadId).cancelJob( new FailMsg(FailMsg.CancelType.UNKNOWN, StringUtils.defaultIfBlank(e.getMessage(), ""))); } catch (DdlException ex) { - LOG.error("cancel ingestion load failed, db: {}, load id: {}, err: {}", dbName, loadId, + LOG.warn("cancel ingestion load failed, db: {}, load id: {}, err: {}", dbName, loadId, e.getMessage()); } } @@ -839,7 +840,7 @@ public Object updateIngestionLoad(HttpServletRequest request, HttpServletRespons }); ingestionLoadJob.updateJobStatus(statusInfo); } catch (IOException | MetaNotFoundException | UnauthorizedException e) { - LOG.error("cancel ingestion load job failed, db: {}, load id: {}, err: {}", db, loadId, e.getMessage()); + LOG.warn("cancel ingestion load job failed, db: {}, load id: {}, err: {}", db, loadId, e.getMessage()); return ResponseEntityBuilder.okWithCommonError(e.getMessage()); }