From a2673e9b978f6e32cc213ea77ff8b63b777c3de1 Mon Sep 17 00:00:00 2001 From: zhengyu Date: Mon, 18 Nov 2024 14:49:33 +0800 Subject: [PATCH] [fix](cloud) explicit message when parse file_cache_path error (#44004) print more explicit reason why file_cache_path fail to parse --- be/src/olap/options.cpp | 5 ++++- be/src/runtime/exec_env_init.cpp | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/be/src/olap/options.cpp b/be/src/olap/options.cpp index 8668f8319d10e6..6e4cb61e3d0182 100644 --- a/be/src/olap/options.cpp +++ b/be/src/olap/options.cpp @@ -283,7 +283,10 @@ Status parse_conf_cache_paths(const std::string& config_path, std::vector& cache_paths std::unordered_set cache_path_set; Status rest = doris::parse_conf_cache_paths(doris::config::file_cache_path, cache_paths); if (!rest) { - LOG(FATAL) << "parse config file cache path failed, path=" - << doris::config::file_cache_path; + LOG(FATAL) << "parse config file cache path failed, path=" << doris::config::file_cache_path + << ", reason=" << rest.msg(); exit(-1); } std::vector file_cache_init_threads;