#!/usr/bin/env bash
echo "************************* SETTING ENV VARS ************************* "
export PRINCIPAL="mesos_master"
export FRAMEWORK_USER="magellan"
export MASTER_ADDRESS="10.144.144.10:5050"
echo "************************* BUILDING WITH MAVEN ************************* "
mvn package $@
echo "************************* RUNNING FALEIRO ************************* "
java -cp target/faleiro-1.0-SNAPSHOT.jar org.magellan.faleiro.Web

#!/usr/bin/env bash
echo "************************* SETTING ENV VARS ************************* "
export PRINCIPAL="mesos_master"
export FRAMEWORK_USER="magellan"
export MASTER_ADDRESS="10.144.144.10:5050"
export LIBPROCESS_IP="10.144.144.11"
export LIBPROCESS_PORT="5055"
echo "************************* BUILDING WITH MAVEN ************************* "
mvn package $@
echo "************************* RUNNING FALEIRO ************************* "
java -cp target/faleiro-1.0-SNAPSHOT.jar org.magellan.faleiro.Web

Add LIBPROCESS port and ip as they're required for master to get back to scheduler
Add LIBPROCESS port and ip as they're required for master to get back to scheduler
