BACKUP SNAPSHOT报错JAVA_HOME is not set

版本:3.1.14
存储:Azure 的wasb
JAVA_HOME 环境变量和hadoop-env.sh 都设置了,配置文件里面也设置了。
CREATE REPOSITORY wasb_repo
WITH BROKER
ON LOCATION “wasb://xxxx/apps/starrocks/backup”
PROPERTIES(
“azure.blob.storage_account” = “xxxx”,
“azure.blob.shared_key” = “xxxxxxxx”
);

cat /proc/$be_pid/environ |tr '\0' '\n'|grep JAVA_HOME


这个是从哪里配置的,be.conf 吗?

是的,be.conf中配置