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 6524F200D60 for ; Fri, 1 Dec 2017 21:42:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 63A2F160BF4; Fri, 1 Dec 2017 20:42:04 +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 AE221160C06 for ; Fri, 1 Dec 2017 21:42:03 +0100 (CET) Received: (qmail 71452 invoked by uid 500); 1 Dec 2017 20:42:02 -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 71389 invoked by uid 99); 1 Dec 2017 20:42:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2017 20:42:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A23C9C42D5 for ; Fri, 1 Dec 2017 20:42:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.079 X-Spam-Level: ** X-Spam-Status: No, score=2.079 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KB_WAM_FROM_NAME_SINGLEWORD=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Km5Hq45smT8x for ; Fri, 1 Dec 2017 20:42:00 +0000 (UTC) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D2EA45F20B for ; Fri, 1 Dec 2017 20:41:59 +0000 (UTC) Received: by mail-it0-f46.google.com with SMTP id x28so3884748ita.0 for ; Fri, 01 Dec 2017 12:41:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=5CInT0abXfQi5IPPfEcqRvYtJR3Bbc67/VQ/P7VL/j8=; b=uuCkl0ndkfIdQIqSleJZ1VTTtlT48Sr/6g6y3RuCe2pCFBF4IeZ90Ml09ocCp6GOqy pKvccgf2ruutoMHwUuSkr4BJ9G+OYzHby5q0PBHhgxw/BffFkvbesbMzzQOrqks/k293 HfQsnWtJjPozIaV3aGXQqLPP0HAD9N391KKb4wBE9rMRK0YSMWDESfovJJwpvaodPWvJ oFqdW0PNvLcLtcWgoVQeQ2pnGz0SNNfLumqbL1hffT71ncTnXumA/SG/lBBmLbEG5l2T Mimecf/bZrjBaC+AuKkSx3VdejaX9t7ejVc4TrR11pfvVJFB53mMSFhpatDavIyC23No qNFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=5CInT0abXfQi5IPPfEcqRvYtJR3Bbc67/VQ/P7VL/j8=; b=O2YmmTo24DLQmYSMknJ6V+xOLnosIjKI2cnj09QJ6M2JYNQP4pmpvb0iB6ROklChxj pQpQaBInrLZnwrxxBmYrZOGDGe6X3rA11K9INlMXKh1au1T+2ORNT22BMpQ230nuElT5 C7kxideSjQvmRTQpzAsGmL5z01B0Q2SIFU7xkE9c4ufWKmEzAzo1PyaeoP29JQz3CdxD FlUz00ZcvXNJvOCrhR20kwxmdlnvThPEUZf0Enp6ALQIyizy6vLr/pu12fKc6cXNkRtA 4h4IdWRzpmuu5IyAqNKJKrwBQWxNw4jO07hNSTBeZWSL7K5qPa02uh8qYljFiQK6yey0 D8bg== X-Gm-Message-State: AKGB3mIxSPDNS8ahE9yg/kQ3rcD2KsyNWBaX6fpKTKrmDT8DV/FFBHyP 3Gq3uO4PiwoYcGfzMVmundy4R+iT4Y6Vdj0FU9EwSQ== X-Google-Smtp-Source: AGs4zMZ/eTA6IPPtlkw6yl5jdafQcvf41Yj/rqK6rgP/g8hhtLGBjWRotHy9YO5GxsgjN29KSufRiACAtmnVgKJEL1U= X-Received: by 10.36.228.68 with SMTP id o65mr3756289ith.128.1512160912772; Fri, 01 Dec 2017 12:41:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.141.23 with HTTP; Fri, 1 Dec 2017 12:41:22 -0800 (PST) In-Reply-To: <3B50100E-E8D5-4712-A1A5-5378EC660697@apache.org> References: <3B50100E-E8D5-4712-A1A5-5378EC660697@apache.org> From: Valentin Kulichenko Date: Fri, 1 Dec 2017 12:41:22 -0800 Message-ID: Subject: Re: Deprecate IgniteRDD in embedded mode To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="94eb2c1245200c91cc055f4d66d6" archived-at: Fri, 01 Dec 2017 20:42:04 -0000 --94eb2c1245200c91cc055f4d66d6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ticket created: https://issues.apache.org/jira/browse/IGNITE-7092 -Val On Thu, Nov 30, 2017 at 5:01 PM, Denis Magda wrote: > Val, > > Sounds reasonable to me. The fewer useless and potentially harmful > features or =E2=80=9Cswitches=E2=80=9D we have in Ignite the clear it wil= l be for the user > how to use us in a right way. > > +1 for the deprecation and further removal. > > =E2=80=94 > Denis > > > On Nov 30, 2017, at 3:07 PM, Valentin Kulichenko < > valentin.kulichenko@gmail.com> wrote: > > > > Igniters, > > > > Currently we claim to support IgniteRDD in two modes: standalone and > > embedded. Standalone means there is a separately running Ignite cluster= , > > and Spark start client node(s) to interact with it. In embedded node > > everything runs within Spark, including Ignite server nodes that are > > started embedded into Spark executors. > > > > The latter case doesn't really work, mainly because the lifecycle of > Spark > > executors is not very predictable - Spark can start and stop them while > > application is running. In case Ignite cluster is used to store data > (which > > is usually the case), this causes unnecessary rebalancing or even > > unexpected data loss. > > > > I propose to deprecate and eventually discontinue the embedded mode. > > Luckily, standalone mode is the default one, so we can simply print out= a > > clear warning if one switches to embedded mode, and also mention this i= n > > the docs. > > > > Thoughts? If there are no objections, I will create a ticket and make t= he > > change. > > > > -Val > > --94eb2c1245200c91cc055f4d66d6--