From 1c5dc011d29665df0867b70725e60834a9a9c460 Mon Sep 17 00:00:00 2001 From: Yichuan Sun Date: Thu, 26 Oct 2023 18:49:11 +0800 Subject: [PATCH] Update bin/alluxio-monitor.sh --- bin/alluxio-monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/alluxio-monitor.sh b/bin/alluxio-monitor.sh index 4509f38a66f6..88a6527a728b 100755 --- a/bin/alluxio-monitor.sh +++ b/bin/alluxio-monitor.sh @@ -191,7 +191,7 @@ run_monitors() { # if there is an error, print the log tail for the remaining master nodes. batch_run_on_nodes "$(echo ${nodes})" "${BIN}/alluxio-monitor.sh" -L "${node_type}" else - HA_ENABLED_GETCONF_RES=$(${BIN}/alluxio getConf alluxio.zookeeper.enabled) + HA_ENABLED_GETCONF_RES=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.zookeeper.enabled) HA_ENABLED=$(check_true "$HA_ENABLED_GETCONF_RES") JOURNAL_TYPE=$(${BIN}/alluxio getConf ${ALLUXIO_MASTER_JAVA_OPTS} alluxio.master.journal.type | awk '{print toupper($0)}') if [[ ${JOURNAL_TYPE} == "EMBEDDED" ]]; then