[ 
https://issues.apache.org/jira/browse/IGNITE-3387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15446457#comment-15446457
 ] 

Vasilisa  Sidorova edited comment on IGNITE-3387 at 8/29/16 5:29 PM:
---------------------------------------------------------------------

Ilya, this exception happens due to application couldn't download ignite 
version 6.6.6. 
It can download only released versions which is in the Apache repository.   
For download not public version you should use "IGNITE_PACKAGE_URL" instead  
IGNITE_VERSION parameter. So, I think this issue could be closed.


was (Author: vsidorova):
Ilya, this exception happens due to application couldn't download ignite 
version 6.6.6. 
It can download only released versions which is in the Apache repository.   
For download not public version you should use "IGNITE_URL_PATH" instead  
IGNITE_VERSION parameter. So, I think this issue could be closed.

> 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: 1.8
>
>
> 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.4#6332)

Reply via email to