[jira] [Assigned] (IGNITE-3387) NPE deploy ignite with mesos
[ https://issues.apache.org/jira/browse/IGNITE-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Menshikov reassigned IGNITE-3387: --- Assignee: (was: Alexander Menshikov) > NPE deploy ignite with mesos > > > Key: IGNITE-3387 > URL: https://issues.apache.org/jira/browse/IGNITE-3387 > Project: Ignite > Issue Type: Bug > Components: general >Affects Versions: 1.7 >Reporter: Ilya Suntsov > Fix For: 2.0 > > > I tried to use marathon to deploy ignite with mesos: > {noformat} > curl -X POST -H "Content-type: application/json" --data-binary @marathon.json > http://192.168.2.106:8080/v2/apps/ > {noformat} > where marathon.json contains: > {noformat} > "id": "ignition", > "instances": 1, > "cpus": 1, > "mem": 512, > "ports": [0], > "uris": [ > "https://s3-us-west-2.amazonaws.com/mesos-1234/ignite-mesos-1.6.0.jar; > ], > "env": { > "IGNITE_NODE_COUNT": "4", > "MESOS_MASTER_URL": "zk://192.168.2.106:2181/mesos", > "IGNITE_RUN_CPU_PER_NODE": "2", > "IGNITE_MEMORY_PER_NODE": "2048", > "IGNITE_VERSION":"6.6.6" > }, > "cmd": "java -jar ignite-mesos-1.6.0.jar" > {noformat} > and got the following exception caused by wrong ignite version from > marathon.json: > {noformat} > Exception in thread "Thread-11" java.lang.NullPointerException > at > org.apache.mesos.Protos$CommandInfo$URI$Builder.setValue(Protos.java:8069) > at > org.apache.ignite.mesos.IgniteScheduler.createTask(IgniteScheduler.java:128) > at > org.apache.ignite.mesos.IgniteScheduler.resourceOffers(IgniteScheduler.java:98) > {noformat} > I think we should return another exception/error to be clear what happened. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Assigned] (IGNITE-3387) NPE deploy ignite with mesos
[ https://issues.apache.org/jira/browse/IGNITE-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Menshikov reassigned IGNITE-3387: --- Assignee: Alexander Menshikov > NPE deploy ignite with mesos > > > Key: IGNITE-3387 > URL: https://issues.apache.org/jira/browse/IGNITE-3387 > Project: Ignite > Issue Type: Bug > Components: general >Affects Versions: 1.7 >Reporter: Ilya Suntsov >Assignee: Alexander Menshikov > Fix For: 2.0 > > > I tried to use marathon to deploy ignite with mesos: > {noformat} > curl -X POST -H "Content-type: application/json" --data-binary @marathon.json > http://192.168.2.106:8080/v2/apps/ > {noformat} > where marathon.json contains: > {noformat} > "id": "ignition", > "instances": 1, > "cpus": 1, > "mem": 512, > "ports": [0], > "uris": [ > "https://s3-us-west-2.amazonaws.com/mesos-1234/ignite-mesos-1.6.0.jar; > ], > "env": { > "IGNITE_NODE_COUNT": "4", > "MESOS_MASTER_URL": "zk://192.168.2.106:2181/mesos", > "IGNITE_RUN_CPU_PER_NODE": "2", > "IGNITE_MEMORY_PER_NODE": "2048", > "IGNITE_VERSION":"6.6.6" > }, > "cmd": "java -jar ignite-mesos-1.6.0.jar" > {noformat} > and got the following exception caused by wrong ignite version from > marathon.json: > {noformat} > Exception in thread "Thread-11" java.lang.NullPointerException > at > org.apache.mesos.Protos$CommandInfo$URI$Builder.setValue(Protos.java:8069) > at > org.apache.ignite.mesos.IgniteScheduler.createTask(IgniteScheduler.java:128) > at > org.apache.ignite.mesos.IgniteScheduler.resourceOffers(IgniteScheduler.java:98) > {noformat} > I think we should return another exception/error to be clear what happened. -- This message was sent by Atlassian JIRA (v6.3.15#6346)