mesosphere / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 845 forks source link

mesos-slave sh -c #6552

Closed zhangxinlong633 closed 6 years ago

zhangxinlong633 commented 6 years ago

marathon json:

{"id":"/test","cmd":" export JAVA_HOME=pwd/jdk1.8.0_121 && siddhitester/start.sh '@info(name = \"query1\") @source(type=\"websocket-server\", host=\"192.168.21.11\", port=\"8081\", @map(type=\"json\")) fine stream sourceStream (symbol string); @info(name = \"query2\") @sink(type=\"websocket-server\", host=\"192.168.21.11\", port=\"8082\", @map(type=\"json\")) define stream sinkStream (symbol string); from sourceStream select * insert into sinkStream;'\n","cpus":1,"mem":128,"disk":0,"instances":1,"portDefinitions":[{"port":10003,"protocol":"tcp","labels":{}}],"uris":["http://192.168.21.38:8000/software/siddhitester.tar","http://192.168.21.38:8000/software/00-jdk-8u121-linux-x64.tar.gz"]}

mesos-slave exec: sh -c ' export JAVA_HOME=pwd/jdk1.8.0_121 && siddhitester/start.sh '@info(name = "query1") @source(type="websocket-server", host="192.168.21.11", port="8081", @map(type="json")) fine stream sourceStream (symbol string); @info(name = "query2") @sink(type="websocket-server", host="192.168.21.11", port="8082", @map(type="json")) define stream sinkStream (symbol string); from sourceStream select * insert into sinkStream;'

why sh -c ? too stupid.

marathon-bot commented 6 years ago

Hi @zhangxinlong633!

Thank you for your interest in Marathon! We have recently moved our issue tracking to JIRA. This issue has been automatically re-posted to JIRA. It can be found at MARATHON-8435.

Please note that, right now, you will not receive update notifications for this issue. If you wish to be notified of updates, please: