Created
September 11, 2015 20:58
-
-
Save yujikiriki/2813cc7dc1496a35b5da to your computer and use it in GitHub Desktop.
scheduler.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Location where aurora-scheduler.zip was unpacked. | |
AURORA_SCHEDULER_HOME=/home/yuji/git/aurora/dist/distributions/aurora-scheduler-0.9.0 | |
# Flags that control the behavior of the JVM. | |
JAVA_OPTS=( | |
-server | |
-Xmx2g | |
-Xms2g | |
-Djava.library.path=/home/yuji/git/mesos/build/src/.libs/ | |
) | |
AURORA_FLAGS=( | |
-thermos_executor_ram=512MB | |
-cluster_name=us-east | |
-http_port=8081 | |
-native_log_quorum_size=1 | |
-zk_endpoints=127.0.0.1:2181 | |
-mesos_master_address=zk://127.0.0.1:2181/mesos/master | |
-serverset_path=/aurora/scheduler | |
-native_log_zk_group_path=/aurora/replicated-log | |
-native_log_file_path="$AURORA_SCHEDULER_HOME/db" | |
-backup_dir="$AURORA_SCHEDULER_HOME/backups" | |
-thermos_executor_path=/dev/null | |
-vlog=INFO | |
-logtostderr | |
) | |
export GLOG_v=0 | |
export LIBPROCESS_PORT=8083 | |
JAVA_OPTS="${JAVA_OPTS[*]}" exec "$AURORA_SCHEDULER_HOME/bin/aurora-scheduler" "${AURORA_FLAGS[@]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment