Created
September 4, 2014 23:17
-
-
Save ConnorDoyle/ab4e133bdea546e0dac6 to your computer and use it in GitHub Desktop.
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
#!/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