[chore](tools) Fix NoSuchMethodError while loading data by http requests (#17075)
When we used the tool multi-fe to start multiple FEs cluster and loaded data by stream load way, the request failed. See the following log. The issue was caused by the netty libraries. There are multiple netty libraries in classpath and the FE used the newer version netty library which made these errors.
This commit is contained in:
@ -198,8 +198,10 @@ function start_fe() {
|
||||
|
||||
prepare "${port}" "${doris_home}" "${log_dir}"
|
||||
|
||||
local classpath
|
||||
read -r -a classpath <<<"$(find "${libs_path}" -exec echo {} \+)"
|
||||
declare -a classpath=("${libs_path}")
|
||||
for lib in "${libs_path}"/*.jar; do
|
||||
classpath+=("${lib}")
|
||||
done
|
||||
|
||||
if [[ "${id}" -gt 1 ]]; then
|
||||
helper="-helper 127.0.0.1:$((PORT + 1))"
|
||||
|
||||
Reference in New Issue
Block a user