From dev-return-44833-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Tue Feb 19 16:40:28 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E07B118060E for ; Tue, 19 Feb 2019 17:40:27 +0100 (CET) Received: (qmail 502 invoked by uid 500); 19 Feb 2019 16:40:27 -0000 Mailing-List: contact dev-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 dev@ignite.apache.org Received: (qmail 480 invoked by uid 99); 19 Feb 2019 16:40:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2019 16:40:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E94C1186C37 for ; Tue, 19 Feb 2019 16:40:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.799 X-Spam-Level: * X-Spam-Status: No, score=1.799 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id dKpvPIOD9kwE for ; Tue, 19 Feb 2019 16:40:24 +0000 (UTC) Received: from mail-vk1-f182.google.com (mail-vk1-f182.google.com [209.85.221.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 64F145FB94 for ; Tue, 19 Feb 2019 16:40:24 +0000 (UTC) Received: by mail-vk1-f182.google.com with SMTP id l136so4817630vke.2 for ; Tue, 19 Feb 2019 08:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1wjqrahg3j2bkeckg/lJCZqWjeDaXibnF8ZnK6J/XF8=; b=H0Kb93cQ2z+VbaBeWhC9jRnSGnOxDm0qURs0PPJ4tZGx09EAWwSTAmBzgkZIIk8a/D MEAki3M6alvI10S68WUCvzQIXKEUl9GEcm5vhXu2bOzJnZ+Sjx437LG6y09pUD3o4IIS PR7c7reYg7cMznQ8JqL5/lcfv8bbzdmNTDBf3Olcf2stCTUxoEPjJS13itCSDM1nvt+t +5c3oORQNi/D8V+XOwP62ARKgVhPIKb6Dr6gIhxc1qXLtVIAa08QBqaGGLno9ZW+kRzK FCxmPOeWL2mwesCYKAU29+FQbXnEIWP3Nf1/CGWsl2TaIKD5NBjxuETiS+blttCpfaa5 uydg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=1wjqrahg3j2bkeckg/lJCZqWjeDaXibnF8ZnK6J/XF8=; b=mR2/y3b6nHp26cjoHTdYCKaGD43DM2iOrD4smouFHsRZ/0yDAS4erZnIydPeefu0Mu lG75DAP0MSgC2fzUMKuQXbYoxmKSktZBYUzwz0lBn7r1lZy7DhZUH8KAWMcdT1iGzELM SNee6qpJOBJ1tqLay0VRo3lFqtGC8LNgWHPamxElrj/NgL+OV73FwLHtwVod4L4NCuJg oKcInvXq8JswdtAnBz+VMgaQKN24XKKCQYYj9dWf+Gyqrr1jn1aLaOe/mEU309x3bsHH gLknQYfw1oMq3vmfLWPy1swQCAP/wu1qkg12sFrzVi+itHd5HshBnj+XVc4mc+PR6Rdx 0+Ug== X-Gm-Message-State: AHQUAuaQAaBipDMeENSb52MTYNPJZ6xuPC31rgNyh4rny87eY5ZrWste SCRT6pm92XoFP1ijbvWf2RpEhfyqD1QdCpNLfUmYSw== X-Google-Smtp-Source: AHgI3IYYD+qCKgtldEXO7RanwPAUFMd1wPEqzilx/5xU2R/MV69OPaKU/FO6qv8DEAh7/X/wKEtTh24onNYT6ayJAik= X-Received: by 2002:a1f:98c7:: with SMTP id a190mr1020928vke.23.1550594417100; Tue, 19 Feb 2019 08:40:17 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ilya Kasnacheev Date: Tue, 19 Feb 2019 19:40:05 +0300 Message-ID: Subject: Re: UriDeploymentSpi and GAR files To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="0000000000006c13eb058241e51e" --0000000000006c13eb058241e51e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! Yes, I think we should accept plain JARs if anybody needs this at all. Might still keep meta info support for compatibility. Regards, --=20 Ilya Kasnacheev =D0=B2=D1=82, 19 =D1=84=D0=B5=D0=B2=D1=80. 2019 =D0=B3. =D0=B2 19:38, Denis= Mekhanikov : > Hi! > > There is a feature in Ignite called DeploymentSpi [1], that allows adding > and changing implementation of compute tasks without nodes' downtime. > The only usable implementation right now is UriDeploymentSpi [2], which > lets you provide classes of compute tasks packaged as an archive of a > special form. And this special form is the worst part. > GAR file is just like a JAR, but with some additional meta info. It may > contain an XML with description of tasks, a checksum and also dependencie= s. > > We barely have any tools to build these files, and they can be replaced > with simple uber-JARs. > The only tool we have right now is IgniteDeploymentGarAntTask, which is n= ot > documented anywhere, and it's supposed to be used from a long-forgotten > Apache Ant build system. > > I don't think we need this file format. How about we deprecate and remove > it and make UriDeploymentSpi support plain JARs? > > [1] https://apacheignite.readme.io/docs/deployment-spi > [2] > > https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/d= eployment/uri/UriDeploymentSpi.html > > Denis > --0000000000006c13eb058241e51e--