Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7F293200B81 for ; Mon, 29 Aug 2016 19:24:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7DC99160A89; Mon, 29 Aug 2016 17:24:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C455C160AB8 for ; Mon, 29 Aug 2016 19:24:21 +0200 (CEST) Received: (qmail 41461 invoked by uid 500); 29 Aug 2016 17:24:20 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 41344 invoked by uid 99); 29 Aug 2016 17:24:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2016 17:24:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9BFC42C015A for ; Mon, 29 Aug 2016 17:24:20 +0000 (UTC) Date: Mon, 29 Aug 2016 17:24:20 +0000 (UTC) From: "Vasilisa Sidorova (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IGNITE-3387) NPE deploy ignite with mesos MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 29 Aug 2016 17:24:22 -0000 [ 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:24 PM: --------------------------------------------------------------------- Ilya, this exception happens due to application couldn't download ignite version 6.6.6. It can download only versions which is in the Apache repository. For download not public version you should use "IGNITE_URL_PATH" 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 versions which is in the Apache repository. Or you can use "IGNITE_URL" parameter, but it doesn't work properly now.:) 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)