Skip to content

Commit

Permalink
Update bin/alluxio-monitor.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
YichuanSun authored Oct 26, 2023
1 parent d0ba79d commit 1c5dc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/alluxio-monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c5dc01

Please sign in to comment.