Created
May 17, 2016 00:44
-
-
Save nsabharwal/4b1a977cdff430a63aff13d9ee1fa32d to your computer and use it in GitHub Desktop.
Marathon
This file contains 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
# start loacal zk | |
/var/root/zookeeper-3.4.8/bin/zkServer.sh start | |
#start marathon | |
#marathon is connecting to the existing mesos instance instance connecting to it's own embeded instance | |
#--master 127.0.0.1:5050 and zk://localhost:2181/mesos | |
MESOS_NATIVE_JAVA_LIBRARY=/Users/nsabharwal/mesos-0.28.1/build/src/.libs/libmesos.dylib | |
/var/root/marathon-1.1.1/bin/start --master 127.0.0.1:5050 --zk zk://localhost:2181/mesos | |
########################################################## | |
# Mesos instllation http://mesos.apache.org/gettingstarted/ follow this link | |
cd /Users/nsabharwal/mesos-0.28.1/build | |
./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos & | |
./bin/mesos-slave.sh --master=127.0.0.1:5050 & | |
########################################################## | |
#kill existing instance of marathon | |
lsof -n -i:8080 | grep LISTEN | |
kill -9 pid | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Name changed