Skip to content

Instantly share code, notes, and snippets.

@yujikiriki
Created October 19, 2015 12:44
Show Gist options
  • Save yujikiriki/3933905381a0aac3fd45 to your computer and use it in GitHub Desktop.
Save yujikiriki/3933905381a0aac3fd45 to your computer and use it in GitHub Desktop.
Aurora notes

zookeeper

./zookeeper/bin/zkServer.sh start-foreground ./zookeeper/bin/zkCli.sh -server 127.0.0.1:2181

mesos

sudo ./mesos/build/bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/tmp/mesos --zk=zk://127.0.0.1:2181/mesos/master --advertise_ip=127.0.0.1 --advertise_port=5050 --quorum=1 sudo ./mesos/build/bin/mesos-slave.sh --master=127.0.0.1:5050

marathon

git submodule update --init --recursive

export MESOS_NATIVE_JAVA_LIBRARY=/home/yuji/git/mesos/build/src/.libs/libmesos.so

sudo ./marathon/bin/start --master zk://127.0.0.1:2181/mesos/master --zk zk://127.0.01:2181/marathon

aurora

/home/yuji/git/mesos/build/src/.libs/lt-mesos-log initialize --path="/home/yuji/git/aurora/dist/distributions/aurora-scheduler-0.9.0/db"

./aurora/dist/distributions/aurora-scheduler-0.9.0/scheduler-local.sh ./aurora/dist/thermos_observer.pex

./aurora/dist/aurora.pex job create us-east/www-data/devel/hello ~/Desktop/test.aurora

python generation

./pants binary src/main/python/apache/aurora/client/cli:aurora ./pants binary src/main/python/apache/thermos/observer/bin:thermos_observer ./pants binary src/main/python/apache/thermos/cli:thermos ./pants binary src/main/python/apache/thermos/cli/bin:thermos ./pants binary src/main/python/apache/thermos/bin:thermos_ckpt ./pants binary src/main/python/apache/thermos/bin:thermos_runner

https://github.com/apache/aurora/blob/master/examples/vagrant/provision-dev-cluster.sh#L42-L45 https://github.com/apache/aurora/blob/master/examples/vagrant/aurorabuild.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment