Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      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.

      This isssue has been created automatically from Marathon GitHub Issue 6552.

        Attachments

          Activity

            People

            • Assignee:
              marathon-bot Marathon Bot
              Reporter:
              marathon-bot Marathon Bot
              Team:
              Orchestration Team
              Watchers:
              Marathon Bot, Matthias Eichstedt
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: