#!/bin/bash
java $JAVA_OPTS -Djava.library.path=/usr/lib -jar /tmp/elasticsearch-mesos-scheduler.jar $@
#!/bin/bash
java $JAVA_OPTS -Djava.library.path=/usr/lib -jar /tmp/elasticsearch-mesos-scheduler.jar "$@"

Stop shell expansion of arguments to the scheduler container
Stop shell expansion of arguments to the scheduler container

To quote http://wiki.bash-hackers.org/scripting/posparams#all_positional_parameters : 'You almost always want a quoted "$@"!'
