Skip to content

Instantly share code, notes, and snippets.

@ConnorDoyle
Created September 4, 2014 23:17
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 ConnorDoyle/ab4e133bdea546e0dac6 to your computer and use it in GitHub Desktop.
Save ConnorDoyle/ab4e133bdea546e0dac6 to your computer and use it in GitHub Desktop.
#!/bin/bash
search_paths='/usr/lib /usr/local/lib'
echo "MESOS_NATIVE_JAVA_LIBRARY is not set. Searching in $search_paths."
export MESOS_NATIVE_JAVA_LIBRARY=$(find -L $search_paths -name libmesos.dylib -or -name libmesos.so 2>/dev/null | head -n1)
export MESOS_NATIVE_LIBRARY=$MESOS_NATIVE_JAVA_LIBRARY
java -jar target/scala-2.10/marathon-assembly-0.7.0-SNAPSHOT.jar --master 10.141.141.10:5050 --zk zk://10.141.141.10:2181/marathon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment