Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/agitator
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ function read_cluster_conf() {
function get_app_hosts() {
case "$1" in
manager) echo -n "$MANAGER_HOSTS" ;;
tserver | datanode) echo -n "$TSERVER_HOSTS" ;;
tserver) echo -n "$TSERVER_HOSTS" ;;
datanode) echo -n "${AGTR_DATANODE_HOSTS:-$TSERVER_HOSTS}" ;;
*) return 1 ;;
esac
}
Expand Down
2 changes: 2 additions & 0 deletions conf/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ export AGTR_DATANODE_RESTART_SLEEP_TIME=10
# Min and max number of datanodes the agitator will kill at once
export AGTR_DATANODE_MIN_KILL=1
export AGTR_DATANODE_MAX_KILL=1
# Datanode hosts if different from tservers
#export AGTR_DATANODE_HOSTS="host1 host2"
# HDFS agitation
AGTR_HDFS_USER=$(whoami)
export AGTR_HDFS_USER
Expand Down
Loading