Created
September 11, 2015 20:58
-
-
Save yujikiriki/2813cc7dc1496a35b5da to your computer and use it in GitHub Desktop.
Revisions
-
Yuji Kiriki created this gist
Sep 11, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ #!/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[@]}"