Skip to content

Instantly share code, notes, and snippets.

@nsabharwal
Created May 17, 2016 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsabharwal/4b1a977cdff430a63aff13d9ee1fa32d to your computer and use it in GitHub Desktop.
Save nsabharwal/4b1a977cdff430a63aff13d9ee1fa32d to your computer and use it in GitHub Desktop.
Marathon
# 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
@nsabharwal
Copy link
Author

Name changed

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