This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 5ef842834588ebc208d03807104b0c0813e03965
Author: wangbo <[email protected]>
AuthorDate: Fri Jan 12 09:05:02 2024 +0800

    [Refactor](executor)refactor workload group log fron WARNING to INFO #29878
---
 be/src/agent/cgroup_cpu_ctl.cpp          | 2 +-
 be/src/agent/workload_group_listener.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/be/src/agent/cgroup_cpu_ctl.cpp b/be/src/agent/cgroup_cpu_ctl.cpp
index a494681d082..ff44e5630e9 100644
--- a/be/src/agent/cgroup_cpu_ctl.cpp
+++ b/be/src/agent/cgroup_cpu_ctl.cpp
@@ -33,7 +33,7 @@ Status CgroupCpuCtl::init() {
     }
 
     if (access(_doris_cgroup_cpu_path.c_str(), F_OK) != 0) {
-        LOG(ERROR) << "doris cgroup cpu path not exists, path=" << 
_doris_cgroup_cpu_path;
+        LOG(INFO) << "doris cgroup cpu path not exists, path=" << 
_doris_cgroup_cpu_path;
         return Status::InternalError<false>("doris cgroup cpu path {} not 
exists.",
                                             _doris_cgroup_cpu_path);
     }
diff --git a/be/src/agent/workload_group_listener.cpp 
b/be/src/agent/workload_group_listener.cpp
index f2770e8e7c4..6ea7c28669c 100644
--- a/be/src/agent/workload_group_listener.cpp
+++ b/be/src/agent/workload_group_listener.cpp
@@ -53,8 +53,8 @@ void WorkloadGroupListener::handle_topic_info(const 
std::vector<TopicInfo>& topi
         Status ret2 = 
_exec_env->task_group_manager()->upsert_cg_task_scheduler(&task_group_info,
                                                                                
 _exec_env);
         if (!ret2.ok()) {
-            LOG(WARNING) << "upsert task sche failed, tg_id=" << 
task_group_info.id
-                         << ", reason=" << ret2.to_string();
+            LOG(INFO) << "upsert task sche failed, tg_id=" << 
task_group_info.id
+                      << ", reason=" << ret2.to_string();
         }
 
         LOG(INFO) << "update task group finish, tg info=" << tg->debug_string()


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to